- All style tags after the first 31 style tags are not applied.
- All style rules after the first 4,095 rules are not applied.
- On pages that uses the @import rule to continously import external style sheets that import other style sheets, style sheets that are more than three levels deep are ignored.
This style tag limitation may also affect the viewing of .xml files by using .xsl files. When the .xsl file has style tags embedded inside the document, you receive the following error message when you try to view the .xml file:
OK, you receive the following error message:
Do you wish to Debug?
Error: Invalid argument.
Steps to reproduce the problemPaste the following code sample in an HTML page. Run the code sample. An error is generated after the thirty-first style tag is applied.
for (i=1 ; i <= 32; i++)
StyleSheetCount.innerText = "Total Style Sheets = " + i
- "STYLE element | style Object"
- "addRule Method"
- "@import Rule"
Article ID: 262161 - Last Review: Aug 19, 2011 - Revision: 1