Changeset 71348 in webkit
- Timestamp:
- Nov 4, 2010 11:35:09 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r71345 r71348 1 2010-11-04 Erik Arvidsson <arv@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Support box-sizing without the vendor prefix 6 https://bugs.webkit.org/show_bug.cgi?id=36713 7 8 Based on patch by Peter Beverloo <peter@lvp-media.com> 9 10 Update the tests to use box-sizing instead of -webkit-box-sizing. 11 12 * fast/borders/borderRadiusDashed05.html: 13 * fast/css/box-sizing-backwards-compat-prefix-expected.txt: Added. 14 * fast/css/box-sizing-backwards-compat-prefix.html: Added. This tests that both box-sizing and -webkit-box-sizing works. 15 * fast/css/getComputedStyle/computed-style-expected.txt: 16 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 17 * platform/chromium-mac/fast/css/computed-style-expected.txt: 18 * platform/chromium-mac/fast/css/computed-style-without-renderer-expected.txt: 19 * platform/chromium-win/fast/css/computed-style-expected.txt: 20 * platform/chromium-win/fast/css/computed-style-without-renderer-expected.txt: 21 * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt: 22 * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 23 * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt: 24 * platform/chromium-win/transforms/2d/transform-borderbox-expected.txt: 25 * platform/chromium-win/transforms/2d/transform-origin-borderbox-expected.txt: 26 * platform/gtk/transforms/2d/transform-borderbox-expected.txt: 27 * platform/gtk/transforms/2d/transform-origin-borderbox-expected.txt: 28 * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 29 * platform/mac/transforms/2d/transform-borderbox-expected.checksum: 30 * platform/mac/transforms/2d/transform-borderbox-expected.txt: 31 * platform/mac/transforms/2d/transform-origin-borderbox-expected.checksum: 32 * platform/mac/transforms/2d/transform-origin-borderbox-expected.txt: 33 * platform/qt/fast/css/getComputedStyle/computed-style-expected.txt: 34 * platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 35 * svg/css/getComputedStyle-basic-expected.txt: 36 * transforms/2d/transform-borderbox.html: 37 * transforms/2d/transform-origin-borderbox.html: 38 1 39 2010-11-04 Eric Seidel <eric@webkit.org> 2 40 -
trunk/LayoutTests/fast/borders/borderRadiusDashed05.html
r62200 r71348 12 12 border-bottom-color: rgba(0,128,0,0.5); 13 13 border-right-color: rgba(0,128,0,0.5); 14 -webkit-box-sizing: border-box;14 box-sizing: border-box; 15 15 margin: 20px; 16 16 } -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r71218 r71348 27 27 border-top-width: 0px; 28 28 bottom: auto; 29 box-sizing: content-box; 29 30 caption-side: top; 30 31 clear: none; … … 123 124 -webkit-box-reflect: none; 124 125 -webkit-box-shadow: none; 125 -webkit-box-sizing: content-box;126 126 -webkit-color-correction: default; 127 127 -webkit-column-break-after: auto; -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r71218 r71348 26 26 border-top-width: 16px 27 27 bottom: auto 28 box-sizing: content-box 28 29 caption-side: top 29 30 clear: none … … 122 123 -webkit-box-reflect: none 123 124 -webkit-box-shadow: none 124 -webkit-box-sizing: content-box125 125 -webkit-color-correction: default 126 126 -webkit-column-break-after: auto -
trunk/LayoutTests/platform/chromium-mac/fast/css/computed-style-expected.txt
r60179 r71348 20 20 border-top-width: 0px; 21 21 bottom: auto; 22 box-sizing: content-box; 22 23 caption-side: top; 23 24 clear: none; … … 109 110 -webkit-box-reflect: none; 110 111 -webkit-box-shadow: none; 111 -webkit-box-sizing: content-box;112 112 -webkit-column-break-after: auto; 113 113 -webkit-column-break-before: auto; -
trunk/LayoutTests/platform/chromium-mac/fast/css/computed-style-without-renderer-expected.txt
r60179 r71348 19 19 border-top-width: 16px 20 20 bottom: auto 21 box-sizing: content-box 21 22 caption-side: top 22 23 clear: none … … 108 109 -webkit-box-reflect: none 109 110 -webkit-box-shadow: none 110 -webkit-box-sizing: content-box111 111 -webkit-column-break-after: auto 112 112 -webkit-column-break-before: auto -
trunk/LayoutTests/platform/chromium-win/fast/css/computed-style-expected.txt
r60179 r71348 20 20 border-top-width: 0px; 21 21 bottom: auto; 22 box-sizing: content-box; 22 23 caption-side: top; 23 24 clear: none; … … 109 110 -webkit-box-reflect: none; 110 111 -webkit-box-shadow: none; 111 -webkit-box-sizing: content-box;112 112 -webkit-column-break-after: auto; 113 113 -webkit-column-break-before: auto; -
trunk/LayoutTests/platform/chromium-win/fast/css/computed-style-without-renderer-expected.txt
r60179 r71348 19 19 border-top-width: 16px 20 20 bottom: auto 21 box-sizing: content-box 21 22 caption-side: top 22 23 clear: none … … 108 109 -webkit-box-reflect: none 109 110 -webkit-box-shadow: none 110 -webkit-box-sizing: content-box111 111 -webkit-column-break-after: auto 112 112 -webkit-column-break-before: auto -
trunk/LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt
r71224 r71348 27 27 border-top-width: 0px; 28 28 bottom: auto; 29 box-sizing: content-box; 29 30 caption-side: top; 30 31 clear: none; … … 123 124 -webkit-box-reflect: none; 124 125 -webkit-box-shadow: none; 125 -webkit-box-sizing: content-box;126 126 -webkit-color-correction: default; 127 127 -webkit-column-break-after: auto; -
trunk/LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r71224 r71348 26 26 border-top-width: 16px 27 27 bottom: auto 28 box-sizing: content-box 28 29 caption-side: top 29 30 clear: none … … 122 123 -webkit-box-reflect: none 123 124 -webkit-box-shadow: none 124 -webkit-box-sizing: content-box125 125 -webkit-color-correction: default 126 126 -webkit-column-break-after: auto -
trunk/LayoutTests/platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt
r71224 r71348 51 51 rect: style.getPropertyValue(bottom) : auto 52 52 rect: style.getPropertyCSSValue(bottom) : [object CSSPrimitiveValue] 53 rect: style.getPropertyValue(box-sizing) : content-box 54 rect: style.getPropertyCSSValue(box-sizing) : [object CSSPrimitiveValue] 53 55 rect: style.getPropertyValue(caption-side) : top 54 56 rect: style.getPropertyCSSValue(caption-side) : [object CSSPrimitiveValue] … … 243 245 rect: style.getPropertyValue(-webkit-box-shadow) : none 244 246 rect: style.getPropertyCSSValue(-webkit-box-shadow) : [object CSSPrimitiveValue] 245 rect: style.getPropertyValue(-webkit-box-sizing) : content-box246 rect: style.getPropertyCSSValue(-webkit-box-sizing) : [object CSSPrimitiveValue]247 247 rect: style.getPropertyValue(-webkit-color-correction) : default 248 248 rect: style.getPropertyCSSValue(-webkit-color-correction) : [object CSSPrimitiveValue] … … 475 475 g: style.getPropertyValue(bottom) : auto 476 476 g: style.getPropertyCSSValue(bottom) : [object CSSPrimitiveValue] 477 g: style.getPropertyValue(box-sizing) : content-box 478 g: style.getPropertyCSSValue(box-sizing) : [object CSSPrimitiveValue] 477 479 g: style.getPropertyValue(caption-side) : top 478 480 g: style.getPropertyCSSValue(caption-side) : [object CSSPrimitiveValue] … … 667 669 g: style.getPropertyValue(-webkit-box-shadow) : none 668 670 g: style.getPropertyCSSValue(-webkit-box-shadow) : [object CSSPrimitiveValue] 669 g: style.getPropertyValue(-webkit-box-sizing) : content-box670 g: style.getPropertyCSSValue(-webkit-box-sizing) : [object CSSPrimitiveValue]671 671 g: style.getPropertyValue(-webkit-color-correction) : default 672 672 g: style.getPropertyCSSValue(-webkit-color-correction) : [object CSSPrimitiveValue] -
trunk/LayoutTests/platform/chromium-win/transforms/2d/transform-borderbox-expected.txt
r56271 r71348 12 12 RenderBlock {DIV} at (0,0) size 250x100 [bgcolor=#008000] [border: (50px solid #808080) none] 13 13 RenderText {#text} at (0,0) size 147x19 14 text run at (0,0) width 147: " -webkit-box-sizing: auto"14 text run at (0,0) width 147: "box-sizing: auto" 15 15 layer at (38,176) size 200x100 16 16 RenderBlock {DIV} at (0,110) size 200x100 [bgcolor=#008000] [border: (50px solid #808080) none] 17 17 RenderText {#text} at (0,0) size 117x39 18 text run at (0,0) width 117: " -webkit-box-sizing:"18 text run at (0,0) width 117: "box-sizing:" 19 19 text run at (0,20) width 70: "border-box" -
trunk/LayoutTests/platform/chromium-win/transforms/2d/transform-origin-borderbox-expected.txt
r56271 r71348 6 6 RenderBlock {P} at (0,0) size 784x20 7 7 RenderText {#text} at (0,0) size 572x19 8 text run at (0,0) width 572: "Tests that origin of rotation is the center of the border box, with and without -webkit-box-sizing"8 text run at (0,0) width 572: "Tests that origin of rotation is the center of the border box, with and without box-sizing" 9 9 RenderBlock {DIV} at (30,50) size 200x200 [bgcolor=#FF0000] 10 10 RenderBlock {DIV} at (30,280) size 200x200 [bgcolor=#FF0000] -
trunk/LayoutTests/platform/gtk/transforms/2d/transform-borderbox-expected.txt
r68406 r71348 12 12 RenderBlock {DIV} at (0,0) size 250x100 [bgcolor=#008000] [border: (50px solid #808080) none] 13 13 RenderText {#text} at (0,0) size 147x19 14 text run at (0,0) width 147: " -webkit-box-sizing: auto"14 text run at (0,0) width 147: "box-sizing: auto" 15 15 layer at (38,175) size 200x100 16 16 RenderBlock {DIV} at (0,110) size 200x100 [bgcolor=#008000] [border: (50px solid #808080) none] 17 17 RenderText {#text} at (0,0) size 117x38 18 text run at (0,0) width 117: " -webkit-box-sizing:"18 text run at (0,0) width 117: "box-sizing:" 19 19 text run at (0,19) width 70: "border-box" -
trunk/LayoutTests/platform/gtk/transforms/2d/transform-origin-borderbox-expected.txt
r68406 r71348 6 6 RenderBlock {P} at (0,0) size 784x19 7 7 RenderText {#text} at (0,0) size 572x19 8 text run at (0,0) width 572: "Tests that origin of rotation is the center of the border box, with and without -webkit-box-sizing"8 text run at (0,0) width 572: "Tests that origin of rotation is the center of the border box, with and without box-sizing" 9 9 RenderBlock {DIV} at (30,49) size 200x200 [bgcolor=#FF0000] 10 10 RenderBlock {DIV} at (30,279) size 200x200 [bgcolor=#FF0000] -
trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r71218 r71348 26 26 border-top-width: 16px 27 27 bottom: auto 28 box-sizing: content-box 28 29 caption-side: top 29 30 clear: none … … 122 123 -webkit-box-reflect: none 123 124 -webkit-box-shadow: none 124 -webkit-box-sizing: content-box125 125 -webkit-color-correction: default 126 126 -webkit-column-break-after: auto -
trunk/LayoutTests/platform/mac/transforms/2d/transform-borderbox-expected.checksum
r38297 r71348 1 4788409452f84ec3923f50a2e044e23a 1 f2c579134e479a0e0a1e8d3db7ea2ca1 -
trunk/LayoutTests/platform/mac/transforms/2d/transform-borderbox-expected.txt
r36454 r71348 11 11 layer at (38,64) size 250x100 12 12 RenderBlock {DIV} at (0,0) size 250x100 [bgcolor=#008000] [border: (50px solid #808080) none] 13 RenderText {#text} at (0,0) size 1 54x1814 text run at (0,0) width 1 54: "-webkit-box-sizing: auto"13 RenderText {#text} at (0,0) size 101x18 14 text run at (0,0) width 101: "box-sizing: auto" 15 15 layer at (38,174) size 200x100 16 16 RenderBlock {DIV} at (0,110) size 200x100 [bgcolor=#008000] [border: (50px solid #808080) none] 17 RenderText {#text} at (0,0) size 123x36 18 text run at (0,0) width 123: "-webkit-box-sizing:" 19 text run at (0,18) width 70: "border-box" 17 RenderText {#text} at (0,0) size 144x18 18 text run at (0,0) width 144: "box-sizing: border-box" -
trunk/LayoutTests/platform/mac/transforms/2d/transform-origin-borderbox-expected.checksum
r38297 r71348 1 b4c25ad66caa3b3ee781d6909226431a 1 ec036d6d0be5255b44cfad5c620d48bf -
trunk/LayoutTests/platform/mac/transforms/2d/transform-origin-borderbox-expected.txt
r36454 r71348 5 5 RenderBody {BODY} at (8,16) size 784x478 6 6 RenderBlock {P} at (0,0) size 784x18 7 RenderText {#text} at (0,0) size 600x188 text run at (0,0) width 600: "Tests that origin of rotation is the center of the border box, with and without -webkit-box-sizing"7 RenderText {#text} at (0,0) size 547x18 8 text run at (0,0) width 547: "Tests that origin of rotation is the center of the border box, with and without box-sizing" 9 9 RenderBlock {DIV} at (30,48) size 200x200 [bgcolor=#FF0000] 10 10 RenderBlock {DIV} at (30,278) size 200x200 [bgcolor=#FF0000] 11 11 layer at (38,64) size 200x200 12 12 RenderBlock {DIV} at (0,0) size 200x200 [bgcolor=#008000] [border: (100px solid #808080) none] 13 RenderText {#text} at (0,0) size 82x3614 text run at (0,0) width 82: "-webkit-box-"15 text run at (0,18) width 72: "sizing:auto"13 RenderText {#text} at (0,0) size 70x36 14 text run at (0,0) width 70: "box-sizing:" 15 text run at (0,18) width 27: "auto" 16 16 layer at (38,294) size 200x200 17 17 RenderBlock {DIV} at (0,0) size 200x200 [bgcolor=#008000] [border: (100px solid #808080) none] 18 RenderText {#text} at (0,0) size 82x3619 text run at (0,0) width 82: "-webkit-box-"20 text run at (0,18) width 72: "sizing:auto"18 RenderText {#text} at (0,0) size 70x36 19 text run at (0,0) width 70: "box-sizing:" 20 text run at (0,18) width 27: "auto" -
trunk/LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-expected.txt
r60179 r71348 27 27 border-top-width: 0px; 28 28 bottom: auto; 29 box-sizing: content-box; 29 30 caption-side: top; 30 31 clear: none; … … 119 120 -webkit-box-reflect: none; 120 121 -webkit-box-shadow: none; 121 -webkit-box-sizing: content-box;122 122 -webkit-column-break-after: auto; 123 123 -webkit-column-break-before: auto; -
trunk/LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r60179 r71348 26 26 border-top-width: 13px 27 27 bottom: auto 28 box-sizing: content-box 28 29 caption-side: top 29 30 clear: none … … 118 119 -webkit-box-reflect: none 119 120 -webkit-box-shadow: none 120 -webkit-box-sizing: content-box121 121 -webkit-column-break-after: auto 122 122 -webkit-column-break-before: auto -
trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt
r71218 r71348 51 51 rect: style.getPropertyValue(bottom) : auto 52 52 rect: style.getPropertyCSSValue(bottom) : [object CSSPrimitiveValue] 53 rect: style.getPropertyValue(box-sizing) : content-box 54 rect: style.getPropertyCSSValue(box-sizing) : [object CSSPrimitiveValue] 53 55 rect: style.getPropertyValue(caption-side) : top 54 56 rect: style.getPropertyCSSValue(caption-side) : [object CSSPrimitiveValue] … … 243 245 rect: style.getPropertyValue(-webkit-box-shadow) : none 244 246 rect: style.getPropertyCSSValue(-webkit-box-shadow) : [object CSSPrimitiveValue] 245 rect: style.getPropertyValue(-webkit-box-sizing) : content-box246 rect: style.getPropertyCSSValue(-webkit-box-sizing) : [object CSSPrimitiveValue]247 247 rect: style.getPropertyValue(-webkit-color-correction) : default 248 248 rect: style.getPropertyCSSValue(-webkit-color-correction) : [object CSSPrimitiveValue] … … 475 475 g: style.getPropertyValue(bottom) : auto 476 476 g: style.getPropertyCSSValue(bottom) : [object CSSPrimitiveValue] 477 g: style.getPropertyValue(box-sizing) : content-box 478 g: style.getPropertyCSSValue(box-sizing) : [object CSSPrimitiveValue] 477 479 g: style.getPropertyValue(caption-side) : top 478 480 g: style.getPropertyCSSValue(caption-side) : [object CSSPrimitiveValue] … … 667 669 g: style.getPropertyValue(-webkit-box-shadow) : none 668 670 g: style.getPropertyCSSValue(-webkit-box-shadow) : [object CSSPrimitiveValue] 669 g: style.getPropertyValue(-webkit-box-sizing) : content-box670 g: style.getPropertyCSSValue(-webkit-box-sizing) : [object CSSPrimitiveValue]671 671 g: style.getPropertyValue(-webkit-color-correction) : default 672 672 g: style.getPropertyCSSValue(-webkit-color-correction) : [object CSSPrimitiveValue] -
trunk/LayoutTests/transforms/2d/transform-borderbox.html
r36454 r71348 19 19 background-color: green; 20 20 border-right: 50px solid gray; 21 -webkit-box-sizing: auto;21 box-sizing: auto; 22 22 -webkit-transform: scalex(2); 23 23 -webkit-transform-origin: left; 24 24 } 25 25 .border-box { 26 -webkit-box-sizing: border-box;26 box-sizing: border-box; 27 27 } 28 28 </style> … … 33 33 <p>Top box should have gray part extending outside the black outline. Lower box should lie inside the outline</p> 34 34 <div class="container"> 35 <div class="box"> -webkit-box-sizing: auto</div>36 <div class="box border-box"> -webkit-box-sizing: border-box</div>35 <div class="box">box-sizing: auto</div> 36 <div class="box border-box">box-sizing: border-box</div> 37 37 </div> 38 38 </body> -
trunk/LayoutTests/transforms/2d/transform-origin-borderbox.html
r36454 r71348 19 19 background-color: green; 20 20 border-right: 100px solid gray; 21 -webkit-box-sizing: auto;21 box-sizing: auto; 22 22 -webkit-transform: rotate(90deg); 23 23 } 24 24 .border-box { 25 25 width: 200px; 26 -webkit-box-sizing: border-box;26 box-sizing: border-box; 27 27 } 28 28 </style> … … 30 30 <body> 31 31 32 <p>Tests that origin of rotation is the center of the border box, with and without -webkit-box-sizing</p>32 <p>Tests that origin of rotation is the center of the border box, with and without box-sizing</p> 33 33 <div class="container"> 34 <div class="box"> -webkit-box-sizing: auto</div>34 <div class="box">box-sizing: auto</div> 35 35 </div> 36 36 37 37 <div class="container"> 38 <div class="box border-box"> -webkit-box-sizing: auto</div>38 <div class="box border-box">box-sizing: auto</div> 39 39 </div> 40 40 </body> -
trunk/WebCore/ChangeLog
r71346 r71348 1 2010-11-04 Erik Arvidsson <arv@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Support box-sizing without the vendor prefix 6 https://bugs.webkit.org/show_bug.cgi?id=36713 7 8 Based on patch by Peter Beverloo <peter@lvp-media.com> 9 10 Test: fast/css/box-sizing-backwards-compat-prefix.html 11 12 * css/CSSComputedStyleDeclaration.cpp: 13 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): 14 * css/CSSParser.cpp: 15 (WebCore::CSSParser::parseValue): 16 (WebCore::cssPropertyID): This handles -webkit-box-sizing and maps it to box-sizing. 17 * css/CSSPropertyNames.in: 18 * css/CSSStyleSelector.cpp: 19 (WebCore::CSSStyleSelector::applyProperty): 20 * css/quirks.css: Change -webkit-box-sizing to box-sizing. 21 (input:not([type=image]), textarea): 22 * css/view-source.css: Ditto. 23 (.webkit-line-gutter-backdrop, .webkit-line-number): 24 * css/wml.css: Ditto. 25 (do): 26 (select): 27 1 28 2010-11-04 John Reck <jreck@google.com> 2 29 -
trunk/WebCore/css/CSSComputedStyleDeclaration.cpp
r71218 r71348 77 77 CSSPropertyBorderTopWidth, 78 78 CSSPropertyBottom, 79 CSSPropertyBoxSizing, 79 80 CSSPropertyCaptionSide, 80 81 CSSPropertyClear, … … 174 175 CSSPropertyWebkitBoxReflect, 175 176 CSSPropertyWebkitBoxShadow, 176 CSSPropertyWebkitBoxSizing,177 177 CSSPropertyWebkitColorCorrection, 178 178 CSSPropertyWebkitColumnBreakAfter, … … 1302 1302 case CSSPropertyZoom: 1303 1303 return CSSPrimitiveValue::create(style->zoom(), CSSPrimitiveValue::CSS_NUMBER); 1304 case CSSProperty WebkitBoxSizing:1304 case CSSPropertyBoxSizing: 1305 1305 if (style->boxSizing() == CONTENT_BOX) 1306 1306 return CSSPrimitiveValue::createIdentifier(CSSValueContentBox); -
trunk/WebCore/css/CSSParser.cpp
r71218 r71348 1278 1278 validPrimitive = validUnit(value, FInteger | FNonNeg, true); 1279 1279 break; 1280 case CSSProperty WebkitBoxSizing:1280 case CSSPropertyBoxSizing: 1281 1281 validPrimitive = id == CSSValueBorderBox || id == CSSValueContentBox; 1282 1282 break; … … 5836 5836 5837 5837 if (hasPrefix(buffer, length, "-webkit")) { 5838 if (strcmp(buffer, "-webkit-opacity") == 0) { 5838 if (!strcmp(buffer, "-webkit-box-sizing")) { 5839 // -webkit-box-sizing worked in Safari 4 and earlier. 5840 const char* const boxSizing = "box-sizing"; 5841 name = boxSizing; 5842 length = strlen(boxSizing); 5843 } else if (!strcmp(buffer, "-webkit-opacity")) { 5839 5844 // Honor -webkit-opacity as a synonym for opacity. 5840 5845 // This was the only syntax that worked in Safari 1.1, and may be in use on some websites and widgets. -
trunk/WebCore/css/CSSPropertyNames.in
r71218 r71348 71 71 border-width 72 72 bottom 73 box-sizing 73 74 caption-side 74 75 clear … … 210 211 -webkit-box-reflect 211 212 -webkit-box-shadow 212 -webkit-box-sizing213 213 -webkit-color-correction 214 214 -webkit-column-break-after -
trunk/WebCore/css/CSSStyleSelector.cpp
r71266 r71348 4972 4972 m_style->setBoxOrdinalGroup((unsigned int)(primitiveValue->getDoubleValue())); 4973 4973 return; 4974 case CSSProperty WebkitBoxSizing:4974 case CSSPropertyBoxSizing: 4975 4975 HANDLE_INHERIT_AND_INITIAL(boxSizing, BoxSizing) 4976 4976 if (!primitiveValue) -
trunk/WebCore/css/quirks.css
r31100 r71348 45 45 /* This will apply only to text fields, since all other inputs already use border box sizing */ 46 46 input:not([type=image]), textarea { 47 -webkit-box-sizing: border-box;47 box-sizing: border-box; 48 48 } 49 49 -
trunk/WebCore/css/view-source.css
r53042 r71348 45 45 .webkit-line-gutter-backdrop, .webkit-line-number { 46 46 /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */ 47 -webkit-box-sizing: border-box;47 box-sizing: border-box; 48 48 padding: 0 4px !important; 49 49 width: 31px; -
trunk/WebCore/css/wml.css
r46969 r71348 110 110 border: 2px outset ButtonFace; 111 111 background-color: ButtonFace; 112 -webkit-box-sizing: border-box112 box-sizing: border-box 113 113 } 114 114 … … 164 164 select { 165 165 -webkit-appearance: menulist; 166 -webkit-box-sizing: border-box;166 box-sizing: border-box; 167 167 -webkit-box-align: center; 168 168 border: 1px solid; -
trunk/WebKitTools/ChangeLog
r71342 r71348 1 2010-11-04 Erik Arvidsson <arv@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Support box-sizing without the vendor prefix 6 https://bugs.webkit.org/show_bug.cgi?id=36713 7 8 Based on patch by Peter Beverloo <peter@lvp-media.com> 9 10 * iExploder/htdocs/cssproperties.in: Change -webkit-box-sizing to box-sizing. 11 1 12 2010-11-04 Csaba Osztrogonác <ossy@webkit.org> 2 13 -
trunk/WebKitTools/iExploder/htdocs/cssproperties.in
r66347 r71348 38 38 -webkit-box-reflect 39 39 -webkit-box-shadow 40 -webkit-box-sizing41 40 -webkit-color-correction 42 41 -webkit-column-break-after … … 157 156 border-width 158 157 bottom 158 box-sizing 159 159 caption-side 160 160 clear
Note: See TracChangeset
for help on using the changeset viewer.