mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Support: Document box-sizing was unprefixed in Firefox 29
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user