Sha256: 4b8e3d6bb3b97f5b0714c57c26b5883f40123e3cd27944ef31345e5e95d8a387
Contents?: true
Size: 987 Bytes
Versions: 1
Compression:
Stored size: 987 Bytes
Contents
# This rule is taken from https://github.com/stubbornella/csslint/tree/master/src/rules # # # Copyright (c) 2011 Nicole Sullivan and Nicholas C. Zakas. All rights reserved. # TODO: Paste the CSSLint LICENSE here. # # # /*global CSSLint*/ # # /* # * Rule: box-sizing doesn't work in IE6 and IE7. # */ # CSSLint.addRule({ # # //rule information # id: "box-sizing", # name: "Disallow use of box-sizing", # desc: "The box-sizing properties isn't supported in IE6 and IE7.", # browsers: "IE6, IE7", # tags: ["Compatibility"], # # //initialization # init: function(parser, reporter){ # var rule = this; # # parser.addListener("property", function(event){ # var name = event.property.text.toLowerCase(); # # if (name == "box-sizing"){ # reporter.report("The box-sizing property isn't supported in IE6 and IE7.", event.line, event.col, rule); # } # }); # } # # });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sasslint-0.0.1 | lib/sasslint/rules/css/box-sizing.rb |