mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Docs: Add support comments for prefixed box-sizing
This commit is contained in:
@@ -8,6 +8,7 @@ define([
|
||||
pixelPositionVal,
|
||||
div = document.createElement( "div" ),
|
||||
containerStyles = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px",
|
||||
// Support: Firefox<29, Android 2.3 (Prefixed box-sizing versions).
|
||||
divReset =
|
||||
"-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;" +
|
||||
"display:block;padding:0;margin:0;border:0";
|
||||
@@ -162,6 +163,7 @@ define([
|
||||
|
||||
body.appendChild( container ).appendChild( div );
|
||||
|
||||
// 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;" +
|
||||
"position:absolute;display:block;padding:1px;border:1px;width:4px;" +
|
||||
|
||||
Reference in New Issue
Block a user