From 79f59c2144c1ce293454dca21d01819bdd9f52d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 5 Feb 2014 15:57:11 +0100 Subject: [PATCH] Support: Document box-sizing was unprefixed in Firefox 29 --- src/css/support.js | 4 ++-- test/unit/css.js | 2 +- test/unit/dimensions.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/css/support.js b/src/css/support.js index 336449085..df0f3a2b2 100644 --- a/src/css/support.js +++ b/src/css/support.js @@ -5,7 +5,7 @@ define([ (function() { var pixelPositionVal, boxSizingReliableVal, - // Support: Firefox, Android 2.3 (Prefixed box-sizing versions). + // Support: Firefox<29, Android 2.3 (Prefixed box-sizing versions). divReset = "padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;" + "-moz-box-sizing:content-box;box-sizing:content-box", docElem = document.documentElement, @@ -23,7 +23,7 @@ define([ // Executing both pixelPosition & boxSizingReliable tests require only one layout // so they're executed at the same time to save the second computation. function computePixelPositionAndBoxSizingReliable() { - // Support: Firefox, Android 2.3 (Prefixed box-sizing versions). + // Support: Firefox<29, Android 2.3 (Prefixed box-sizing versions). div.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;" + "box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;" + "position:absolute;top:1%"; diff --git a/test/unit/css.js b/test/unit/css.js index 77a3f72ac..8747ca9dc 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -789,7 +789,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, Android 2.3 (Prefixed box-sizing versions). + // Support: Firefox<29, Android 2.3 (Prefixed box-sizing versions). var el_dis = jQuery("
test
"), el = el_dis.clone().appendTo("#qunit-fixture"); diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js index be0902c6c..ce132fd32 100644 --- a/test/unit/dimensions.js +++ b/test/unit/dimensions.js @@ -418,7 +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, Android 2.3 (Prefixed box-sizing versions). + // Support: Firefox<29, Android 2.3 (Prefixed box-sizing versions). var el_bb = jQuery("
test
").appendTo("#qunit-fixture"), el = jQuery("
test
").appendTo("#qunit-fixture"), expected = 100; -- 2.39.5