aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/dimensions.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-04-04 22:04:39 +0200
committerDave Methvin <dave.methvin@gmail.com>2013-04-06 17:09:52 -0400
commitdca7681284731053124e6437c5bec58e030cc91d (patch)
tree6646d538c7866f9336f2ac11a6e181b616a5632f /test/unit/dimensions.js
parent1b610266502490eab42a0b9ddfac2f93da0b0fe1 (diff)
downloadjquery-dca7681284731053124e6437c5bec58e030cc91d.tar.gz
jquery-dca7681284731053124e6437c5bec58e030cc91d.zip
Improve CSS and `Support:` comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one 2) removed last semi-colons in CSS rules 3) updated support comments code review changes + more consistent comment spacing
Diffstat (limited to 'test/unit/dimensions.js')
-rw-r--r--test/unit/dimensions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js
index bcb7b7f2c..c7d1281f2 100644
--- a/test/unit/dimensions.js
+++ b/test/unit/dimensions.js
@@ -407,7 +407,8 @@ test( "getters on non elements should return null", function() {
test("setters with and without box-sizing:border-box", function(){
expect(20);
- var el_bb = jQuery("<div style='width:114px;height:114px;margin:5px;padding:3px;border:4px solid white;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;'>test</div>").appendTo("#qunit-fixture"),
+ // Support: Firefox, Android 2.3 (Prefixed box-sizing versions).
+ var el_bb = jQuery("<div style='width:114px;height:114px;margin:5px;padding:3px;border:4px solid white;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;'>test</div>").appendTo("#qunit-fixture"),
el = jQuery("<div style='width:100px;height:100px;margin:5px;padding:3px;border:4px solid white;'>test</div>").appendTo("#qunit-fixture"),
expected = 100;