stubbornella/csslint — pull request #441 by dashk (2013-12-29 03:10:56+00:00)
Title: New rule to detect if a sheet has @import over 31 sheets in IE6-9

New rule to detect if a sheet has @import over 31 sheets in IE6-9.

While @import is technically OK in IE6-9, there is a hard limit you can @import per sheet. This is documented on MSDN [1].

This rule should only apply to IE6 to IE9.

A rule page [2] has been created to document this optional rule. If accepted, this page should be added to Compatibility section in Rules.

=====

[1] http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/internet-explorer-stylesheet-rule-selector-import-sheet-limit-maximum.aspx

[2] https://github.com/dashk/csslint/wiki/Disallow-a-sheet-@import---31-sheets-in-IE6-9