Changeset 192955 in webkit
- Timestamp:
- Dec 2, 2015 12:25:55 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 68 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r192954 r192955 1 2015-12-02 Adenilson Cavalcanti <cavalcantii@gmail.com> 2 3 [css border] border-image doesn't honor border-style 4 https://bugs.webkit.org/show_bug.cgi?id=99922 5 6 Reviewed by Simon Fraser. 7 8 Ensure that WebKit will be compliant to css-backgrounds spec where 9 a border with an image will only be rendered if there is a style defined. 10 11 Previous border image tests had to be edited (i.e. define border-style) 12 to ensure that a decorated border would be rendered. 13 14 * fast/borders/border-image-01.html: 15 * fast/borders/border-image-border-radius.html: 16 * fast/borders/border-image-fill-no-intrinsic-size.html: 17 * fast/borders/border-image-longhand.html: 18 * fast/borders/border-image-massive-scale.html: 19 * fast/borders/border-image-omit-right-slice.html: 20 * fast/borders/border-image-outset-in-shorthand.html: 21 * fast/borders/border-image-outset-split-inline-expected.txt: 22 * fast/borders/border-image-outset-split-inline-vertical-lr-expected.txt: 23 * fast/borders/border-image-outset-split-inline-vertical-lr.html: 24 * fast/borders/border-image-outset-split-inline.html: 25 * fast/borders/border-image-outset.html: 26 * fast/borders/border-image-repeat.html: 27 * fast/borders/border-image-rotate-transform.html: 28 * fast/borders/border-image-scale-transform.html: 29 * fast/borders/border-image-scaled.html: 30 * fast/borders/border-image-scrambled.html: 31 * fast/borders/border-image-should-not-display-expected.html: Added. 32 * fast/borders/border-image-should-not-display.html: Added. 33 * fast/borders/border-image-side-reduction.html: 34 * fast/borders/border-image-slice-constrained.html: 35 * fast/borders/border-image-slice-missing-right.html: 36 * fast/borders/border-image-slices.html: 37 * fast/borders/border-image-source.html: 38 * fast/borders/border-image-trumps-radius-expected.txt: 39 * fast/borders/border-image-trumps-radius.html: 40 * fast/borders/hidpi-border-image-gradient-on-subpixels.html: 41 * fast/borders/resources/red.png: Added. 42 * fast/borders/scaled-border-image.html: 43 * fast/gradients/border-image-gradient-expected.txt: 44 * fast/gradients/border-image-gradient.html: 45 * fast/hidpi/image-set-border-image-comparison.html: 46 * fast/hidpi/image-set-border-image-dynamic.html: 47 * fast/hidpi/image-set-border-image-simple.html: 48 * fast/writing-mode/border-image-horizontal-bt.html: 49 * fast/writing-mode/border-image-vertical-lr.html: 50 * fast/writing-mode/border-image-vertical-rl.html: 51 * platform/mac/fast/borders/border-image-01-expected.txt: 52 * platform/mac/fast/borders/border-image-border-radius-expected.txt: 53 * platform/mac/fast/borders/border-image-longhand-expected.txt: 54 * platform/mac/fast/borders/border-image-massive-scale-expected.txt: 55 * platform/mac/fast/borders/border-image-omit-right-slice-expected.txt: 56 * platform/mac/fast/borders/border-image-outset-expected.txt: 57 * platform/mac/fast/borders/border-image-outset-in-shorthand-expected.txt: 58 * platform/mac/fast/borders/border-image-repeat-expected.txt: 59 * platform/mac/fast/borders/border-image-rotate-transform-expected.txt: 60 * platform/mac/fast/borders/border-image-scale-transform-expected.txt: 61 * platform/mac/fast/borders/border-image-scaled-expected.txt: 62 * platform/mac/fast/borders/border-image-scrambled-expected.txt: 63 * platform/mac/fast/borders/border-image-side-reduction-expected.txt: 64 * platform/mac/fast/borders/border-image-slice-constrained-expected.txt: 65 * platform/mac/fast/borders/border-image-slices-expected.txt: 66 * platform/mac/fast/borders/border-image-source-expected.txt: 67 * platform/mac/fast/borders/scaled-border-image-expected.txt: 68 * platform/mac/fast/hidpi/image-set-border-image-comparison-expected.txt: 69 * platform/mac/fast/hidpi/image-set-border-image-dynamic-expected.txt: 70 * platform/mac/fast/hidpi/image-set-border-image-simple-expected.txt: 71 * platform/mac/fast/writing-mode/border-image-horizontal-bt-expected.txt: 72 * platform/mac/fast/writing-mode/border-image-vertical-lr-expected.txt: 73 * platform/mac/fast/writing-mode/border-image-vertical-rl-expected.txt: 74 1 75 2015-12-02 Eric Carlson <eric.carlson@apple.com> 2 76 -
trunk/LayoutTests/animations/cross-fade-border-image-source.html
r154906 r192955 9 9 width: 100px; 10 10 background-color: green; 11 border-style: solid; 11 12 -webkit-animation: anim 1s linear infinite; 12 13 border-image: url() 5 5 5 5 /20px stretch stretch; … … 19 20 width: 100px; 20 21 background-color: green; 22 border-style: solid; 21 23 -webkit-animation: animShorthand 1s linear infinite; 22 24 } … … 28 30 width: 100px; 29 31 background-color: green; 32 border-style: solid; 30 33 border-image: -webkit-cross-fade(url(resources/stripes-100.png), url(resources/green-100.png), 50%) 5 5 5 5 /20px stretch stretch; 31 34 } -
trunk/LayoutTests/fast/borders/border-image-01.html
r23661 r192955 8 8 margin: 10px; 9 9 display: inline-block; 10 border-style: solid; 10 11 } 11 12 -
trunk/LayoutTests/fast/borders/border-image-border-radius.html
r41976 r192955 9 9 display: inline-block; 10 10 -webkit-border-radius: 10px; 11 border-style: solid; 11 12 } 12 13 -
trunk/LayoutTests/fast/borders/border-image-fill-no-intrinsic-size.html
r190883 r192955 59 59 <div class="box border-20"></div> 60 60 <div class="box no-border border-image-no-intrinsic-slice"></div> 61 <div class="box border-20 border-image-no-intrinsic-slice"></div>61 <div class="box no-border border-image-no-intrinsic"></div> 62 62 </body> -
trunk/LayoutTests/fast/borders/border-image-longhand.html
r94593 r192955 11 11 border-image-slice: 21 30 30 21 fill; 12 12 border-image-width: 1; 13 border-style: solid; 13 14 } 14 15 -
trunk/LayoutTests/fast/borders/border-image-massive-scale.html
r95129 r192955 8 8 margin: 10px; 9 9 display: inline-block; 10 border-style: solid; 10 11 } 11 12 -
trunk/LayoutTests/fast/borders/border-image-omit-right-slice.html
r63854 r192955 18 18 border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAAXNSR0IArs4c6QAAAUFJREFUGNMBNgHJ/gPcUkznH/n8lGR5YkMIIMDXFhgoVNnfqeM5dbre55MDGkF/U6tMmi12K6QBpfkB4H3NyPZAiyjm6kp//uPtAA4pZhHPJ8xbkSop4chy5ecPsVSqkC03ozAmk77SOwOHR+fDXmoF5UUJU9YsnVfehg/iLC7p3etC3w3LEA8D0eGf/DZozPPzoSSX6gTVlQ/L4Ylt4SrFiOgqNDQPAPvl/JQuLv33xK66eAgGCn+OAIUu1Fugs2hsZNIB6gPhrZ80q7sXNUEuIE7EGNC5Dc2ExcIe9tseb4r7usAAralzLgdas9URX21wGUqSgDnf/jMydhxMIEx4w9TtAfCQPsbi30EEVABXFJYnOZgfbQK3CLkwg6PDGG27KwOYF7jD+sIHhdwoUyILAF5sv/6bI6S56fbULB5OToUjFpS7UHGrVgAAAABJRU5ErkJggg==) 1 2 3; 19 19 border-width: 100px; 20 border-style: solid; 20 21 } 21 22 -
trunk/LayoutTests/fast/borders/border-image-outset-in-shorthand.html
r94912 r192955 9 9 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 1 / 21px 30px 30px 21px stretch; 10 10 margin:30px; 11 border-style: solid; 11 12 } 12 13 -
trunk/LayoutTests/fast/borders/border-image-outset-split-inline-expected.txt
r177774 r192955 5 5 RenderBody {BODY} at (8,8) size 784x584 6 6 RenderBlock {DIV} at (0,0) size 784x350 7 RenderInline {SPAN} at (0,0) size 37x230 [border: (21px none #000000) (30px none #000000) (21px none#000000)]7 RenderInline {SPAN} at (0,0) size 37x230 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 8 8 RenderText {#text} at (46,85) size 7x29 9 9 text run at (46,85) width 7: " " -
trunk/LayoutTests/fast/borders/border-image-outset-split-inline-vertical-lr-expected.txt
r177774 r192955 5 5 RenderBody {BODY} at (8,8) size 784x584 6 6 RenderBlock {DIV} at (0,0) size 350x584 7 RenderInline {SPAN} at (0,0) size 230x37 [border: (21px none #000000) (30px none #000000) (21px none#000000)]7 RenderInline {SPAN} at (0,0) size 230x37 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 8 8 RenderText {#text} at (85,46) size 29x7 9 9 text run at (85,46) width 7: " " -
trunk/LayoutTests/fast/borders/border-image-outset-split-inline-vertical-lr.html
r94912 r192955 5 5 border-width: 21px 30px 30px 21px; 6 6 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 1 / 21px 30px 30px 21px repeat; 7 border-style: solid; 7 8 } 8 9 </style> -
trunk/LayoutTests/fast/borders/border-image-outset-split-inline.html
r94912 r192955 5 5 border-width: 21px 30px 30px 21px; 6 6 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 1 / 21px 30px 30px 21px repeat; 7 border-style: solid; 7 8 } 8 9 </style> -
trunk/LayoutTests/fast/borders/border-image-outset.html
r94912 r192955 12 12 border-image-outset: 1; 13 13 margin:30px; 14 border-style: solid; 14 15 } 15 16 -
trunk/LayoutTests/fast/borders/border-image-repeat.html
r94420 r192955 8 8 margin: 10px; 9 9 display: inline-block; 10 border-style: solid; 10 11 } 11 12 -
trunk/LayoutTests/fast/borders/border-image-rotate-transform.html
r27150 r192955 8 8 margin: 10px; 9 9 display: inline-block; 10 border-style: solid; 10 11 } 11 12 -
trunk/LayoutTests/fast/borders/border-image-scale-transform.html
r27064 r192955 8 8 margin: 10px; 9 9 display: inline-block; 10 border-style: solid; 10 11 } 11 12 -
trunk/LayoutTests/fast/borders/border-image-scaled.html
r94593 r192955 7 7 margin: 10px; 8 8 display: inline-block; 9 border-style: solid; 9 10 } 10 11 -
trunk/LayoutTests/fast/borders/border-image-scrambled.html
r95099 r192955 8 8 margin: 10px; 9 9 display: inline-block; 10 border-style: solid; 10 11 } 11 12 -
trunk/LayoutTests/fast/borders/border-image-side-reduction.html
r94593 r192955 11 11 border-image-slice: 21 30 30 21 fill; 12 12 border-image-width: 30; 13 border-style: solid; 13 14 } 14 15 -
trunk/LayoutTests/fast/borders/border-image-slice-constrained.html
r180441 r192955 10 10 border-image-repeat: repeat; 11 11 display: inline-block; 12 border-style: solid; 12 13 } 13 14 -
trunk/LayoutTests/fast/borders/border-image-slice-missing-right.html
r167090 r192955 9 9 width: 0px; 10 10 height: 26px; 11 border-style: solid; 11 12 } 12 13 </style> -
trunk/LayoutTests/fast/borders/border-image-slices.html
r94299 r192955 10 10 border-image-source: url("resources/border-image.png") !important; 11 11 border-image-slice: 21 30 30 21 fill !important; 12 border-style: solid; 12 13 } 13 14 -
trunk/LayoutTests/fast/borders/border-image-source.html
r94206 r192955 9 9 display: inline-block; 10 10 border-image-source: url("resources/border-image.png") !important 11 border-style: solid; 11 12 } 12 13 -
trunk/LayoutTests/fast/borders/border-image-trumps-radius-expected.txt
r85067 r192955 5 5 RenderBody {BODY} at (8,8) size 784x584 6 6 RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#FF0000] 7 RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#FF0000] [border: (10px none#0000FF7F)]7 RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#FF0000] [border: (10px solid #0000FF7F)] -
trunk/LayoutTests/fast/borders/border-image-trumps-radius.html
r85067 r192955 8 8 border-width: 10px; 9 9 border-color: rgba(0, 0, 255, 0.5); 10 border-style: solid; 10 11 -webkit-border-image: -webkit-linear-gradient(green, green) 10 10 10 10; 11 12 "></div> -
trunk/LayoutTests/fast/borders/hidpi-border-image-gradient-on-subpixels.html
r166925 r192955 8 8 position: fixed; 9 9 -webkit-border-image: -webkit-linear-gradient(black, black) 1 100%; 10 border-style: solid; 10 11 } 11 12 </style> -
trunk/LayoutTests/fast/borders/scaled-border-image.html
r105515 r192955 9 9 border-image-width: 1; 10 10 border-image-repeat: repeat; 11 border-style: solid; 11 12 } 12 13 </style> -
trunk/LayoutTests/fast/css/image-set-value-not-removed-crash.html
r154281 r192955 16 16 } 17 17 .class1 { 18 border-style: solid; 18 19 border-image: -webkit-image-set(url(#does-not-exist) 25x, url("does-not-exist.gif") 206x) 2 126 158 166 fill; 19 20 } -
trunk/LayoutTests/fast/gradients/border-image-gradient-expected.txt
r105633 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,10) size 784x580 6 RenderBlock {DIV} at (10,0) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,0) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] -
trunk/LayoutTests/fast/gradients/border-image-gradient.html
r31838 r192955 7 7 height: 75px; 8 8 margin: 10px; 9 border-style: solid; 9 10 -webkit-border-image: -webkit-gradient(linear, left top, left bottom, from(#00abeb), to(#fff), color-stop(0.5, #fff), color-stop(0.5, #66cc00)) 21 30 30 21 repeat repeat; 10 11 } -
trunk/LayoutTests/fast/hidpi/image-set-border-image-comparison.html
r121012 r192955 16 16 <style> 17 17 div { 18 18 box-sizing: border-box; 19 19 width: 40px; 20 20 height: 13px; 21 border-style: solid; 21 22 } 22 23 -
trunk/LayoutTests/fast/hidpi/image-set-border-image-dynamic.html
r121012 r192955 21 21 width:100px; 22 22 height:100px; 23 border-style: solid; 23 24 -webkit-border-image: -webkit-image-set(url('resources/blue-100-px-square.png') 1x, url('resources/green-200-px-square.png') 2x) 10 10 10 10 stretch stretch; 24 25 } -
trunk/LayoutTests/fast/hidpi/image-set-border-image-simple.html
r121012 r192955 35 35 height:100px; 36 36 border-width: 10px; 37 border-style: solid; 37 38 -webkit-border-image: -webkit-image-set(url('resources/blue-100-px-square.png') 1x, url('resources/green-200-px-square.png') 2x) 10 10 10 10 stretch stretch; 38 39 } -
trunk/LayoutTests/fast/writing-mode/border-image-horizontal-bt.html
r70813 r192955 6 6 font-size:86px; 7 7 margin: 30px; 8 border-style: solid; 8 9 -webkit-border-image: url("../borders/resources/border-image.png") 21 30 30 21 repeat repeat; 9 10 } -
trunk/LayoutTests/fast/writing-mode/border-image-vertical-lr.html
r70813 r192955 6 6 font-size:86px; 7 7 margin: 30px; 8 border-style: solid; 8 9 -webkit-border-image: url("../borders/resources/border-image.png") 21 30 30 21 repeat repeat; 9 10 } -
trunk/LayoutTests/fast/writing-mode/border-image-vertical-rl.html
r70813 r192955 6 6 font-size:86px; 7 7 margin: 30px; 8 border-style: solid; 8 9 -webkit-border-image: url("../borders/resources/border-image.png") 21 30 30 21 repeat repeat; 9 10 } -
trunk/LayoutTests/platform/mac/animations/cross-fade-border-image-source-expected.txt
r177774 r192955 17 17 RenderBR {BR} at (32,86) size 1x0 18 18 layer at (100,100) size 106x106 19 RenderBlock (positioned) {DIV} at (100,100) size 106x106 [bgcolor=#008000] [border: (3px none#000000)]19 RenderBlock (positioned) {DIV} at (100,100) size 106x106 [bgcolor=#008000] [border: (3px solid #000000)] 20 20 layer at (100,250) size 106x106 21 RenderBlock (positioned) {DIV} at (100,250) size 106x106 [bgcolor=#008000] [border: (3px none#000000)]21 RenderBlock (positioned) {DIV} at (100,250) size 106x106 [bgcolor=#008000] [border: (3px solid #000000)] 22 22 layer at (100,400) size 106x106 23 RenderBlock (positioned) {DIV} at (100,400) size 106x106 [bgcolor=#008000] [border: (3px none#000000)]23 RenderBlock (positioned) {DIV} at (100,400) size 106x106 [bgcolor=#008000] [border: (3px solid #000000)] -
trunk/LayoutTests/platform/mac/fast/borders/border-image-01-expected.txt
r63403 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (146,132) size 4x18 8 8 text run at (146,132) width 4: " " 9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (296,132) size 4x18 11 11 text run at (296,132) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (146,282) size 4x18 15 15 text run at (146,282) width 4: " " 16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-border-radius-expected.txt
r177774 r192955 6 6 RenderText {#text} at (0,132) size 532x18 7 7 text run at (0,132) width 532: "This test checks to make sure the border-image is not clipped by the border radius. " 8 RenderBlock {DIV} at (541,10) size 127x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]8 RenderBlock {DIV} at (541,10) size 127x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 9 9 RenderText {#text} at (0,0) size 0x0 10 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]10 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 11 11 RenderText {#text} at (146,282) size 4x18 12 12 text run at (146,282) width 4: " " 13 13 RenderBR {BR} at (0,0) size 0x0 14 RenderBlock {DIV} at (10,310) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]14 RenderBlock {DIV} at (10,310) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 15 15 RenderText {#text} at (146,432) size 4x18 16 16 text run at (146,432) width 4: " " 17 RenderBlock {DIV} at (160,310) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]17 RenderBlock {DIV} at (160,310) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 18 18 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-longhand-expected.txt
r94593 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (146,132) size 4x18 8 8 text run at (146,132) width 4: " " 9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (296,132) size 4x18 11 11 text run at (296,132) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (146,282) size 4x18 15 15 text run at (146,282) width 4: " " 16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-massive-scale-expected.txt
r95129 r192955 4 4 RenderBlock {HTML} at (0,0) size 785x724 5 5 RenderBody {BODY} at (8,8) size 769x708 6 RenderBlock {DIV} at (10,10) size 330x330 [border: (105px none #000000) (150px none #000000) (105px none#000000)]6 RenderBlock {DIV} at (10,10) size 330x330 [border: (105px solid #000000) (150px solid #000000) (105px solid #000000)] 7 7 RenderText {#text} at (350,336) size 4x18 8 8 text run at (350,336) width 4: " " 9 RenderBlock {DIV} at (364,10) size 330x330 [border: (105px none #000000) (150px none #000000) (105px none#000000)]9 RenderBlock {DIV} at (364,10) size 330x330 [border: (105px solid #000000) (150px solid #000000) (105px solid #000000)] 10 10 RenderText {#text} at (704,336) size 4x18 11 11 text run at (704,336) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,364) size 330x330 [border: (105px none #000000) (150px none #000000) (105px none#000000)]13 RenderBlock {DIV} at (10,364) size 330x330 [border: (105px solid #000000) (150px solid #000000) (105px solid #000000)] 14 14 RenderText {#text} at (350,690) size 4x18 15 15 text run at (350,690) width 4: " " 16 RenderBlock {DIV} at (364,364) size 330x330 [border: (105px none #000000) (150px none #000000) (105px none#000000)]16 RenderBlock {DIV} at (364,364) size 330x330 [border: (105px solid #000000) (150px solid #000000) (105px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-omit-right-slice-expected.txt
r34324 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x416 5 5 RenderBody {BODY} at (8,8) size 784x400 6 RenderBlock {DIV} at (0,0) size 400x400 [border: (100px none#000000)]6 RenderBlock {DIV} at (0,0) size 400x400 [border: (100px solid #000000)] 7 7 RenderBlock {DIV} at (100,100) size 200x200 [bgcolor=#FFFFFF] -
trunk/LayoutTests/platform/mac/fast/borders/border-image-outset-expected.txt
r94912 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (30,30) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (30,30) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (186,172) size 4x18 8 8 text run at (186,172) width 4: " " 9 RenderBlock {DIV} at (220,30) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (220,30) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (376,172) size 4x18 11 11 text run at (376,172) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (30,220) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (30,220) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (186,362) size 4x18 15 15 text run at (186,362) width 4: " " 16 RenderBlock {DIV} at (220,220) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (220,220) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-outset-in-shorthand-expected.txt
r94912 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (30,30) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (30,30) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (186,172) size 4x18 8 8 text run at (186,172) width 4: " " 9 RenderBlock {DIV} at (220,30) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (220,30) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (376,172) size 4x18 11 11 text run at (376,172) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (30,220) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (30,220) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (186,362) size 4x18 15 15 text run at (186,362) width 4: " " 16 RenderBlock {DIV} at (220,220) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (220,220) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-repeat-expected.txt
r94420 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (146,132) size 4x18 8 8 text run at (146,132) width 4: " " 9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (296,132) size 4x18 11 11 text run at (296,132) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (146,282) size 4x18 15 15 text run at (146,282) width 4: " " 16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-rotate-transform-expected.txt
r70170 r192955 5 5 layer at (8,8) size 769x569 6 6 RenderBody {BODY} at (8,8) size 769x569 7 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]7 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 8 8 RenderText {#text} at (146,132) size 4x18 9 9 text run at (146,132) width 4: " " 10 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]10 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 11 11 RenderText {#text} at (296,132) size 4x18 12 12 text run at (296,132) width 4: " " 13 13 RenderBR {BR} at (0,0) size 0x0 14 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]14 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 15 15 RenderText {#text} at (146,282) size 4x18 16 16 text run at (146,282) width 4: " " 17 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]17 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 18 18 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-scale-transform-expected.txt
r70170 r192955 5 5 layer at (8,8) size 769x569 6 6 RenderBody {BODY} at (8,8) size 769x569 7 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]7 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 8 8 RenderText {#text} at (146,132) size 4x18 9 9 text run at (146,132) width 4: " " 10 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]10 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 11 11 RenderText {#text} at (296,132) size 4x18 12 12 text run at (296,132) width 4: " " 13 13 RenderBR {BR} at (0,0) size 0x0 14 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]14 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 15 15 RenderText {#text} at (146,282) size 4x18 16 16 text run at (146,282) width 4: " " 17 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]17 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 18 18 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-scaled-expected.txt
r177774 r192955 9 9 text run at (0,18) width 715: "actually end up becoming the real border widths. The border-image property in the specification doesn't do this." 10 10 RenderBlock (anonymous) at (0,52) size 769x552 11 RenderBlock {DIV} at (10,10) size 252x252 [border: (42px none #000000) (60px none #000000) (42px none#000000)]11 RenderBlock {DIV} at (10,10) size 252x252 [border: (42px solid #000000) (60px solid #000000) (42px solid #000000)] 12 12 RenderText {#text} at (272,258) size 4x18 13 13 text run at (272,258) width 4: " " 14 RenderBlock {DIV} at (286,10) size 252x252 [border: (42px none #000000) (60px none #000000) (42px none#000000)]14 RenderBlock {DIV} at (286,10) size 252x252 [border: (42px solid #000000) (60px solid #000000) (42px solid #000000)] 15 15 RenderText {#text} at (548,258) size 4x18 16 16 text run at (548,258) width 4: " " 17 17 RenderBR {BR} at (0,0) size 0x0 18 RenderBlock {DIV} at (10,286) size 252x252 [border: (42px none #000000) (60px none #000000) (42px none#000000)]18 RenderBlock {DIV} at (10,286) size 252x252 [border: (42px solid #000000) (60px solid #000000) (42px solid #000000)] 19 19 RenderText {#text} at (272,534) size 4x18 20 20 text run at (272,534) width 4: " " 21 RenderBlock {DIV} at (286,286) size 252x252 [border: (42px none #000000) (60px none #000000) (42px none#000000)]21 RenderBlock {DIV} at (286,286) size 252x252 [border: (42px solid #000000) (60px solid #000000) (42px solid #000000)] 22 22 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-scrambled-expected.txt
r95099 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (146,132) size 4x18 8 8 text run at (146,132) width 4: " " 9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (296,132) size 4x18 11 11 text run at (296,132) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (146,282) size 4x18 15 15 text run at (146,282) width 4: " " 16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-side-reduction-expected.txt
r94593 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (146,132) size 4x18 8 8 text run at (146,132) width 4: " " 9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (296,132) size 4x18 11 11 text run at (296,132) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (146,282) size 4x18 15 15 text run at (146,282) width 4: " " 16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-slice-constrained-expected.txt
r180441 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 171x171 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 171x171 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (191,177) size 4x18 8 8 text run at (191,177) width 4: " " 9 RenderBlock {DIV} at (205,10) size 171x171 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (205,10) size 171x171 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-slices-expected.txt
r94299 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderText {#text} at (146,132) size 4x18 8 8 text run at (146,132) width 4: " " 9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]9 RenderBlock {DIV} at (160,10) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 10 10 RenderText {#text} at (296,132) size 4x18 11 11 text run at (296,132) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]13 RenderBlock {DIV} at (10,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 14 14 RenderText {#text} at (146,282) size 4x18 15 15 text run at (146,282) width 4: " " 16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]16 RenderBlock {DIV} at (160,160) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/border-image-source-expected.txt
r94206 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderBlock {DIV} at (10,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none #000000)]7 RenderText {#text} at ( 146,132) size 4x188 text run at ( 146,132) width 4: " "9 RenderBlock {DIV} at (1 60,10) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none #000000)]10 RenderText {#text} at ( 296,132) size 4x1811 text run at ( 296,132) width 4: " "6 RenderBlock {DIV} at (10,10) size 75x75 7 RenderText {#text} at (95,81) size 4x18 8 text run at (95,81) width 4: " " 9 RenderBlock {DIV} at (109,10) size 75x75 10 RenderText {#text} at (194,81) size 4x18 11 text run at (194,81) width 4: " " 12 12 RenderBR {BR} at (0,0) size 0x0 13 RenderBlock {DIV} at (10,1 60) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none #000000)]14 RenderText {#text} at ( 146,282) size 4x1815 text run at ( 146,282) width 4: " "16 RenderBlock {DIV} at (1 60,160) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none #000000)]13 RenderBlock {DIV} at (10,109) size 75x75 14 RenderText {#text} at (95,180) size 4x18 15 text run at (95,180) width 4: " " 16 RenderBlock {DIV} at (109,109) size 75x75 17 17 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/fast/borders/scaled-border-image-expected.txt
r177774 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,10) size 784x570 6 RenderBlock {DIV} at (10,0) size 126x126 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderBlock {DIV} at (10,0) size 126x126 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderBlock (anonymous) at (0,136) size 784x18 8 8 RenderText {#text} at (0,0) size 408x18 9 9 text run at (0,0) width 408: "This should look like the above, only scaled up by a factor of 2:" 10 RenderBlock {DIV} at (20,174) size 252x252 [border: (42px none #000000) (60px none #000000) (42px none#000000)]10 RenderBlock {DIV} at (20,174) size 252x252 [border: (42px solid #000000) (60px solid #000000) (42px solid #000000)] -
trunk/LayoutTests/platform/mac/fast/hidpi/image-set-border-image-comparison-expected.txt
r177774 r192955 9 9 RenderBR {BR} at (285,14) size 1x0 10 10 RenderBR {BR} at (0,18) size 0x18 11 RenderBlock {DIV} at (0,36) size 40x13 [border: (3px none#000000)]11 RenderBlock {DIV} at (0,36) size 40x13 [border: (3px solid #000000)] 12 12 RenderBlock (anonymous) at (0,49) size 784x18 13 13 RenderBR {BR} at (0,0) size 0x18 14 RenderBlock {DIV} at (0,67) size 40x13 [border: (3px none #000000) (7px none #000000) (3px none#000000)]14 RenderBlock {DIV} at (0,67) size 40x13 [border: (3px solid #000000) (7px solid #000000) (3px solid #000000)] 15 15 RenderBlock (anonymous) at (0,80) size 784x18 16 16 RenderBR {BR} at (0,0) size 0x18 17 RenderBlock {DIV} at (0,98) size 40x13 [border: (3px none#000000)]17 RenderBlock {DIV} at (0,98) size 40x13 [border: (3px solid #000000)] 18 18 RenderBlock (anonymous) at (0,111) size 784x18 19 19 RenderBR {BR} at (0,0) size 0x18 20 RenderBlock {DIV} at (0,129) size 40x13 [border: (3px none #000000) (7px none #000000) (3px none#000000)]20 RenderBlock {DIV} at (0,129) size 40x13 [border: (3px solid #000000) (7px solid #000000) (3px solid #000000)] 21 21 RenderBlock (anonymous) at (0,142) size 784x18 22 22 RenderBR {BR} at (0,0) size 0x18 -
trunk/LayoutTests/platform/mac/fast/hidpi/image-set-border-image-dynamic-expected.txt
r177774 r192955 9 9 text run at (0,18) width 779: "when the deviceScaleFactor is 2. When run in the test harness, this test is distinct from image-set-as-background, because" 10 10 text run at (0,36) width 515: "it ensures that the green image loads dynamically when the scale factor changes." 11 RenderBlock {DIV} at (0,54) size 106x106 [border: (3px none#000000)]11 RenderBlock {DIV} at (0,54) size 106x106 [border: (3px solid #000000)] 12 12 RenderText {#text} at (3,3) size 8x18 13 13 text run at (3,3) width 8: "2" -
trunk/LayoutTests/platform/mac/fast/hidpi/image-set-border-image-simple-expected.txt
r177774 r192955 8 8 text run at (0,0) width 775: "This test passes if the div below is a blue 100px square when the deviceScaleFactor is 1, and if it is a 100px green square" 9 9 text run at (0,18) width 211: "when the deviceScaleFactor is 2." 10 RenderBlock {DIV} at (0,36) size 120x120 [border: (10px none#000000)]10 RenderBlock {DIV} at (0,36) size 120x120 [border: (10px solid #000000)] -
trunk/LayoutTests/platform/mac/fast/writing-mode/border-image-horizontal-bt-expected.txt
r71465 r192955 4 4 RenderBlock {HTML} at (0,0) size 800x460 5 5 RenderBody {BODY} at (8,8) size 784x444 6 RenderInline {SPAN} at (0,0) size 80x323 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderInline {SPAN} at (0,0) size 80x323 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderBlock {DIV} at (101,117) size 25x0 8 8 RenderBR {BR} at (126,95) size 0x100 -
trunk/LayoutTests/platform/mac/fast/writing-mode/border-image-vertical-lr-expected.txt
r71465 r192955 4 4 RenderBlock {HTML} at (0,0) size 460x600 5 5 RenderBody {BODY} at (8,8) size 444x584 6 RenderInline {SPAN} at (0,0) size 323x80 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderInline {SPAN} at (0,0) size 323x80 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderBlock {DIV} at (99,101) size 0x25 8 8 RenderBR {BR} at (77,126) size 100x0 -
trunk/LayoutTests/platform/mac/fast/writing-mode/border-image-vertical-rl-expected.txt
r71043 r192955 4 4 RenderBlock {HTML} at (0,0) size 460x600 5 5 RenderBody {BODY} at (8,8) size 444x584 6 RenderInline {SPAN} at (0,0) size 323x80 [border: (21px none #000000) (30px none #000000) (21px none#000000)]6 RenderInline {SPAN} at (0,0) size 323x80 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)] 7 7 RenderBlock {DIV} at (164,101) size 0x25 8 8 RenderBR {BR} at (86,126) size 100x0 -
trunk/LayoutTests/platform/mac/svg/as-border-image/svg-as-border-image-2-expected.txt
r177774 r192955 9 9 text run at (0,0) width 195: "SVG border-image" 10 10 RenderBlock (anonymous) at (1,68) size 368x369 11 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px none#000000)]11 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px solid #000000)] 12 12 RenderText {#text} at (180,166) size 4x18 13 13 text run at (180,166) width 4: " " 14 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px none#000000)]14 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px solid #000000)] 15 15 RenderText {#text} at (364,166) size 4x18 16 16 text run at (364,166) width 4: " " 17 17 RenderBR {BR} at (0,0) size 0x0 18 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px none#000000)]18 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px solid #000000)] 19 19 RenderText {#text} at (180,350) size 4x18 20 20 text run at (180,350) width 4: " " 21 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px none#000000)]21 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px solid #000000)] 22 22 RenderText {#text} at (0,0) size 0x0 23 23 RenderText {#text} at (370,418) size 4x18 … … 28 28 text run at (0,0) width 196: "PNG border-image" 29 29 RenderBlock (anonymous) at (1,68) size 368x369 30 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px none#000000)]30 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px solid #000000)] 31 31 RenderText {#text} at (180,166) size 4x18 32 32 text run at (180,166) width 4: " " 33 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px none#000000)]33 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px solid #000000)] 34 34 RenderText {#text} at (364,166) size 4x18 35 35 text run at (364,166) width 4: " " 36 36 RenderBR {BR} at (0,0) size 0x0 37 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px none#000000)]37 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px solid #000000)] 38 38 RenderText {#text} at (180,350) size 4x18 39 39 text run at (180,350) width 4: " " 40 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px none#000000)]40 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px solid #000000)] 41 41 RenderText {#text} at (0,0) size 0x0 42 42 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/platform/mac/svg/as-border-image/svg-as-border-image-expected.txt
r177774 r192955 9 9 text run at (0,0) width 195: "SVG border-image" 10 10 RenderBlock (anonymous) at (1,68) size 368x369 11 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px none#000000)]11 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px solid #000000)] 12 12 RenderText {#text} at (180,166) size 4x18 13 13 text run at (180,166) width 4: " " 14 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px none#000000)]14 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px solid #000000)] 15 15 RenderText {#text} at (364,166) size 4x18 16 16 text run at (364,166) width 4: " " 17 17 RenderBR {BR} at (0,0) size 0x0 18 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px none#000000)]18 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px solid #000000)] 19 19 RenderText {#text} at (180,350) size 4x18 20 20 text run at (180,350) width 4: " " 21 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px none#000000)]21 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px solid #000000)] 22 22 RenderText {#text} at (0,0) size 0x0 23 23 RenderText {#text} at (370,418) size 4x18 … … 28 28 text run at (0,0) width 196: "PNG border-image" 29 29 RenderBlock (anonymous) at (1,68) size 368x369 30 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px none#000000)]30 RenderBlock {DIV} at (10,10) size 160x160 [border: (30px solid #000000)] 31 31 RenderText {#text} at (180,166) size 4x18 32 32 text run at (180,166) width 4: " " 33 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px none#000000)]33 RenderBlock {DIV} at (194,10) size 160x160 [border: (30px solid #000000)] 34 34 RenderText {#text} at (364,166) size 4x18 35 35 text run at (364,166) width 4: " " 36 36 RenderBR {BR} at (0,0) size 0x0 37 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px none#000000)]37 RenderBlock {DIV} at (10,194) size 160x160 [border: (30px solid #000000)] 38 38 RenderText {#text} at (180,350) size 4x18 39 39 text run at (180,350) width 4: " " 40 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px none#000000)]40 RenderBlock {DIV} at (194,194) size 160x160 [border: (30px solid #000000)] 41 41 RenderText {#text} at (0,0) size 0x0 42 42 RenderText {#text} at (0,0) size 0x0 -
trunk/LayoutTests/svg/as-border-image/svg-as-border-image-2.html
r91633 r192955 17 17 18 18 .svg > .rr { 19 border-style: solid; 19 20 -webkit-border-image: url("resources/tiles-relative-size.svg") 30 30 30 30 repeat repeat; 20 21 } 21 22 22 23 .svg > .rs { 24 border-style: solid; 23 25 -webkit-border-image: url("resources/tiles-relative-size.svg") 30 30 30 30 repeat stretch; 24 26 } 25 27 26 28 .svg > .sr { 29 border-style: solid; 27 30 -webkit-border-image: url("resources/tiles-relative-size.svg") 30 30 30 30 stretch repeat; 28 31 } 29 32 30 33 .svg > .ss { 34 border-style: solid; 31 35 -webkit-border-image: url("resources/tiles-relative-size.svg") 30 30 30 30 stretch stretch; 32 36 } 33 37 34 38 .image > .rr { 39 border-style: solid; 35 40 -webkit-border-image: url("resources/large-tiles.png") 30 30 30 30 repeat repeat; 36 41 } 37 42 38 43 .image > .rs { 44 border-style: solid; 39 45 -webkit-border-image: url("resources/large-tiles.png") 30 30 30 30 repeat stretch; 40 46 } 41 47 42 48 .image > .sr { 49 border-style: solid; 43 50 -webkit-border-image: url("resources/large-tiles.png") 30 30 30 30 stretch repeat; 44 51 } 45 52 46 53 .image > .ss { 54 border-style: solid; 47 55 -webkit-border-image: url("resources/large-tiles.png") 30 30 30 30 stretch stretch; 48 56 } -
trunk/LayoutTests/svg/as-border-image/svg-as-border-image.html
r91633 r192955 16 16 17 17 .svg > .rr { 18 border-style: solid; 18 19 -webkit-border-image: url("resources/tiles-fixed-size.svg") 30 30 30 30 repeat repeat; 19 20 } 20 21 21 22 .svg > .rs { 23 border-style: solid; 22 24 -webkit-border-image: url("resources/tiles-fixed-size.svg") 30 30 30 30 repeat stretch; 23 25 } 24 26 25 27 .svg > .sr { 28 border-style: solid; 26 29 -webkit-border-image: url("resources/tiles-fixed-size.svg") 30 30 30 30 stretch repeat; 27 30 } 28 31 29 32 .svg > .ss { 33 border-style: solid; 30 34 -webkit-border-image: url("resources/tiles-fixed-size.svg") 30 30 30 30 stretch stretch; 31 35 } … … 33 37 34 38 .image > .rr { 39 border-style: solid; 35 40 -webkit-border-image: url("resources/tiles.png") 30 30 30 30 repeat repeat; 36 41 } 37 42 38 43 .image > .rs { 44 border-style: solid; 39 45 -webkit-border-image: url("resources/tiles.png") 30 30 30 30 repeat stretch; 40 46 } 41 47 42 48 .image > .sr { 49 border-style: solid; 43 50 -webkit-border-image: url("resources/tiles.png") 30 30 30 30 stretch repeat; 44 51 } 45 52 46 53 .image > .ss { 54 border-style: solid; 47 55 -webkit-border-image: url("resources/tiles.png") 30 30 30 30 stretch stretch; 48 56 } -
trunk/Source/WebCore/ChangeLog
r192954 r192955 1 2015-12-02 Adenilson Cavalcanti <cavalcantii@gmail.com> 2 3 [css border] border-image doesn't honor border-style 4 https://bugs.webkit.org/show_bug.cgi?id=99922 5 6 Reviewed by Simon Fraser. 7 8 Ensure that WebKit will be compliant to css-backgrounds spec where a 9 border with an image will only be rendered if there is a style defined. 10 11 Quote: "None: No border. Color and width are ignored (i.e., the border has width 0)". 12 Reference: http://www.w3.org/TR/css3-background/#border-style 13 14 From W3C discussion: "The fact that these properties set the style of the border is 15 normative". Reference: https://lists.w3.org/Archives/Public/www-style/2015Nov/0260.html 16 17 Test: fast/borders/border-image-should-not-display.html 18 19 * rendering/style/BorderData.h: 20 (WebCore::BorderData::hasBorder): 21 (WebCore::BorderData::borderLeftWidth): 22 (WebCore::BorderData::borderRightWidth): 23 (WebCore::BorderData::borderTopWidth): 24 (WebCore::BorderData::borderBottomWidth): 25 * rendering/style/BorderValue.h: 26 (WebCore::BorderValue::nonZero): 27 (WebCore::BorderValue::isVisible): 28 1 29 2015-12-02 Eric Carlson <eric.carlson@apple.com> 2 30 -
trunk/Source/WebCore/rendering/style/BorderData.h
r184895 r192955 44 44 bool hasBorder() const 45 45 { 46 bool haveImage = m_image.hasImage(); 47 return m_left.nonZero(!haveImage) || m_right.nonZero(!haveImage) || m_top.nonZero(!haveImage) || m_bottom.nonZero(!haveImage); 46 return m_left.nonZero() || m_right.nonZero() || m_top.nonZero() || m_bottom.nonZero(); 48 47 } 49 48 … … 65 64 return false; 66 65 } 67 66 68 67 float borderLeftWidth() const 69 68 { 70 if ( !m_image.hasImage() && (m_left.style() == BNONE || m_left.style() == BHIDDEN))71 return 0; 69 if (m_left.style() == BNONE || m_left.style() == BHIDDEN) 70 return 0; 72 71 return m_left.width(); 73 72 } 74 73 75 74 float borderRightWidth() const 76 75 { 77 if ( !m_image.hasImage() && (m_right.style() == BNONE || m_right.style() == BHIDDEN))76 if (m_right.style() == BNONE || m_right.style() == BHIDDEN) 78 77 return 0; 79 78 return m_right.width(); 80 79 } 81 80 82 81 float borderTopWidth() const 83 82 { 84 if ( !m_image.hasImage() && (m_top.style() == BNONE || m_top.style() == BHIDDEN))83 if (m_top.style() == BNONE || m_top.style() == BHIDDEN) 85 84 return 0; 86 85 return m_top.width(); 87 86 } 88 87 89 88 float borderBottomWidth() const 90 89 { 91 if ( !m_image.hasImage() && (m_bottom.style() == BNONE || m_bottom.style() == BHIDDEN))90 if (m_bottom.style() == BNONE || m_bottom.style() == BHIDDEN) 92 91 return 0; 93 92 return m_bottom.width(); … … 98 97 return FloatBoxExtent(borderTopWidth(), borderRightWidth(), borderBottomWidth(), borderLeftWidth()); 99 98 } 100 99 101 100 bool operator==(const BorderData& o) const 102 101 { … … 104 103 && m_topLeft == o.m_topLeft && m_topRight == o.m_topRight && m_bottomLeft == o.m_bottomLeft && m_bottomRight == o.m_bottomRight; 105 104 } 106 105 107 106 bool operator!=(const BorderData& o) const 108 107 { 109 108 return !(*this == o); 110 109 } 111 110 112 111 const BorderValue& left() const { return m_left; } 113 112 const BorderValue& right() const { return m_right; } 114 113 const BorderValue& top() const { return m_top; } 115 114 const BorderValue& bottom() const { return m_bottom; } 116 115 117 116 const NinePieceImage& image() const { return m_image; } 118 117 119 118 const LengthSize& topLeft() const { return m_topLeft; } 120 119 const LengthSize& topRight() const { return m_topRight; } -
trunk/Source/WebCore/rendering/style/BorderValue.h
r163152 r192955 43 43 } 44 44 45 bool nonZero( bool checkStyle = true) const45 bool nonZero() const 46 46 { 47 return width() && ( !checkStyle ||m_style != BNONE);47 return width() && (m_style != BNONE); 48 48 } 49 49 … … 53 53 } 54 54 55 bool isVisible( bool checkStyle = true) const55 bool isVisible() const 56 56 { 57 return nonZero( checkStyle) && !isTransparent() && (!checkStyle ||m_style != BHIDDEN);57 return nonZero() && !isTransparent() && (m_style != BHIDDEN); 58 58 } 59 59
Note: See TracChangeset
for help on using the changeset viewer.