aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-02-05 15:59:38 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2014-02-05 15:59:38 +0100
commit63f5486007221ea20262951f52f39254e5b49073 (patch)
treea55237184e118c0e95202a194d249c0f925409a3 /test
parent345a59865361d2c6c97c0ded142ba1c5bf207fa9 (diff)
downloadjquery-63f5486007221ea20262951f52f39254e5b49073.tar.gz
jquery-63f5486007221ea20262951f52f39254e5b49073.zip
Docs: Add support comments for prefixed box-sizing
Diffstat (limited to 'test')
-rw-r--r--test/unit/css.js1
-rw-r--r--test/unit/dimensions.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index 0822fc68b..f401ec7e3 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -847,6 +847,7 @@ test("Do not append px (#9548, #12990)", function() {
test("css('width') and css('height') should respect box-sizing, see #11004", function() {
expect( 4 );
+ // Support: Firefox<29, Android 2.3 (Prefixed box-sizing versions).
var el_dis = jQuery("<div style='width:300px;height:300px;margin:2px;padding:2px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;'>test</div>"),
el = el_dis.clone().appendTo("#qunit-fixture");
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js
index c6165b0f9..97e23d7e2 100644
--- a/test/unit/dimensions.js
+++ b/test/unit/dimensions.js
@@ -418,6 +418,7 @@ test( "getters on non elements should return null", function() {
test("setters with and without box-sizing:border-box", function(){
expect(20);
+ // Support: Firefox<29, 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;-moz-box-sizing:border-box;-webkit-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;