Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jan 18, 2016

Conversation

Projects
None yet
3 participants
Contributor

dashk commented Dec 29, 2013

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

Contributor

dashk commented Jan 3, 2014

@pomeh - Agree. Thanks for the feedback. I will update the code and submit another patch.

@nschonni nschonni added Rule labels Apr 2, 2014

Member

XhmikosR commented Jan 9, 2016

@dashk: can you fetch, rebase and squash the patches?

Contributor

dashk commented Jan 18, 2016

Sorry about the delay @XhmikosR!

It's been rebased & squashed.

@XhmikosR XhmikosR added this to the 1.0.0 milestone Jan 18, 2016

XhmikosR added a commit that referenced this pull request Jan 18, 2016

Merge pull request #441 from dashk/master
New rule to detect if a sheet has @import over 31 sheets in IE6-9

@XhmikosR XhmikosR merged commit c4560af into CSSLint:master Jan 18, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Member

XhmikosR commented Jan 18, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment