aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-02-05 15:57:11 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2014-02-05 15:57:11 +0100
commit79f59c2144c1ce293454dca21d01819bdd9f52d9 (patch)
treea1e91c8c3831e1c7d16b1c3af537dd2adb14bd95
parent0fcb0f6826c682c038508caf6d3fb1021d58266f (diff)
downloadjquery-79f59c2144c1ce293454dca21d01819bdd9f52d9.tar.gz
jquery-79f59c2144c1ce293454dca21d01819bdd9f52d9.zip
Support: Document box-sizing was unprefixed in Firefox 29
-rw-r--r--src/css/support.js4
-rw-r--r--test/unit/css.js2
-rw-r--r--test/unit/dimensions.js2
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("<div style='width:300px;height:300px;margin:2px;padding:2px;-webkit-box-sizing:border-box;-moz-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 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("<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;