mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Updated with info about emie and docmode
This commit is contained in:
parent
fbd13675c3
commit
5a23fa6ff5
@ -168,6 +168,23 @@ Where http://fabrikam.com doesn't use IE8 Enterprise Mode, but http://fabrikam.c
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
### Use Enterprise Mode and document mode together
|
||||||
|
If you want to use both Enterprise Mode and document mode together, you need to be aware that <emie> entries override <docMode> entries for the same domain.
|
||||||
|
|
||||||
|
For example, say you want all of the sites in the contoso.com domain to open using IE8 Enterprise Mode, except test.contoso.com, which needs to open in document mode 11. Because Enterprise Mode takes precedence over document mode, if you want test.contoso.com to open using document mode, you'll need to explicitly add it as an exclusion to the <emie> parent node.
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<rules version="1">
|
||||||
|
<emie>
|
||||||
|
<domain exclude="false">contoso.com</domain>
|
||||||
|
<domain exclude="true">test.contoso.com</domain>
|
||||||
|
</emie>
|
||||||
|
<docMode>
|
||||||
|
<domain docMode="11">test.contoso.com</domain>
|
||||||
|
</docMode>
|
||||||
|
</rules>
|
||||||
|
```
|
||||||
|
|
||||||
### What not to include in your schema
|
### What not to include in your schema
|
||||||
We recommend that you not add any of the following items to your schema because they can make your compatibility list behave in unexpected ways:
|
We recommend that you not add any of the following items to your schema because they can make your compatibility list behave in unexpected ways:
|
||||||
- Don’t use protocols. For example, `http://`, `https://`, or custom protocols. They break parsing.
|
- Don’t use protocols. For example, `http://`, `https://`, or custom protocols. They break parsing.
|
||||||
@ -264,6 +281,4 @@ If you want to target specific sites in your organization.
|
|||||||
<li>contoso.com/about and everything underneath that node will load in Enterprise Mode, including contoso.com/about/business because the last rule is ignored.</li>
|
<li>contoso.com/about and everything underneath that node will load in Enterprise Mode, including contoso.com/about/business because the last rule is ignored.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user