Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt

Issue 208323007: Fix getBBox() returning (0,0) bug when width or height is zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@myzbackup
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
diff --git a/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt b/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
similarity index 84%
copy from LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
copy to LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
index c4eb497729496d3efc5a91c2b6d8b9f1059d396e..929cc5bf9f5221126695d83752bbedf0e7b3e04e 100644
--- a/LayoutTests/platform/win/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
+++ b/LayoutTests/platform/linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
@@ -2,19 +2,19 @@ layer at (0,0) size 480x360
RenderView at (0,0) size 480x360
layer at (0,0) size 480x360
RenderSVGRoot {svg} at (0,0) size 480x360
- RenderSVGContainer {g} at (0,20) size 399x260
+ RenderSVGContainer {g} at (0,18) size 399x262
RenderSVGText {text} at (60,20) size 316x19 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 316x19
chunk 1 text run 1 at (60.00,35.00) startOffset 0 endOffset 45 width 316.00: "CSS pixel coordinate to user space conversion"
- RenderSVGContainer {g} at (25,20) size 20x20 [transform={m=((4.00,0.00)(0.00,4.00)) t=(5.00,0.00)}]
- RenderSVGEllipse {circle} at (25,20) size 20x20 [fill={[type=SOLID] [color=#000000]}] [cx=7.50] [cy=7.50] [r=2.50]
- RenderSVGEllipse {circle} at (29,24) size 12x12 [fill={[type=SOLID] [color=#FF0000]}] [cx=7.50] [cy=7.50] [r=1.50]
+ RenderSVGContainer {g} at (23,18) size 24x24 [transform={m=((4.00,0.00)(0.00,4.00)) t=(5.00,0.00)}]
+ RenderSVGEllipse {circle} at (23,18) size 24x24 [fill={[type=SOLID] [color=#000000]}] [cx=7.50] [cy=7.50] [r=2.50]
+ RenderSVGEllipse {circle} at (27,22) size 16x16 [fill={[type=SOLID] [color=#FF0000]}] [cx=7.50] [cy=7.50] [r=1.50]
RenderSVGText {text} at (60,70) size 332x19 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 332x19
chunk 1 text run 1 at (60.00,85.00) startOffset 0 endOffset 47 width 332.00: "Percentage coordinates to user space conversion"
- RenderSVGContainer {g} at (25,70) size 20x20 [transform={m=((4.00,0.00)(0.00,4.00)) t=(5.00,50.00)}]
- RenderSVGEllipse {circle} at (25,70) size 20x20 [fill={[type=SOLID] [color=#000000]}] [cx=7.50] [cy=7.50] [r=2.50]
- RenderSVGEllipse {circle} at (29,73) size 13x13 [fill={[type=SOLID] [color=#FF0000]}] [cx=7.50] [cy=7.50] [r=1.50]
+ RenderSVGContainer {g} at (23,68) size 24x24 [transform={m=((4.00,0.00)(0.00,4.00)) t=(5.00,50.00)}]
+ RenderSVGEllipse {circle} at (23,68) size 24x24 [fill={[type=SOLID] [color=#000000]}] [cx=7.50] [cy=7.50] [r=2.50]
+ RenderSVGEllipse {circle} at (27,71) size 17x17 [fill={[type=SOLID] [color=#FF0000]}] [cx=7.50] [cy=7.50] [r=1.50]
RenderSVGText {text} at (60,125) size 289x19 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 289x19
chunk 1 text run 1 at (60.00,140.00) startOffset 0 endOffset 41 width 289.00: "CSS width/height to user space conversion"
@@ -31,9 +31,9 @@ layer at (0,0) size 480x360
RenderSVGInlineText {#text} at (0,0) size 259x19
chunk 1 text run 1 at (140.00,265.00) startOffset 0 endOffset 36 width 259.00: "CSS and percentage length conversion"
RenderSVGContainer {g} at (0,240) size 154x40 [transform={m=((4.00,0.00)(4.00,4.00)) t=(30.00,260.00)}]
- RenderSVGEllipse {circle} at (1,245) size 58x30 [fill={[type=SOLID] [color=#000000]}] [cx=0.00] [cy=0.00] [r=3.54]
- RenderSVGEllipse {circle} at (41,245) size 58x30 [fill={[type=SOLID] [color=#FF0000]}] [cx=10.00] [cy=0.00] [r=3.54]
- RenderSVGEllipse {circle} at (81,245) size 58x30 [fill={[type=SOLID] [color=#008000]}] [cx=20.00] [cy=0.00] [r=3.54]
+ RenderSVGEllipse {circle} at (0,243) size 63x34 [fill={[type=SOLID] [color=#000000]}] [cx=0.00] [cy=0.00] [r=3.54]
+ RenderSVGEllipse {circle} at (37,243) size 66x34 [fill={[type=SOLID] [color=#FF0000]}] [cx=10.00] [cy=0.00] [r=3.54]
+ RenderSVGEllipse {circle} at (77,243) size 66x34 [fill={[type=SOLID] [color=#008000]}] [cx=20.00] [cy=0.00] [r=3.54]
RenderSVGPath {line} at (0,240) size 125x11 [stroke={[type=SOLID] [color=#CCCCCC] [stroke width=0.50]}] [x1=-3.54] [y1=-3.54] [x2=25.00] [y2=-3.54]
RenderSVGPath {line} at (21,269) size 133x11 [stroke={[type=SOLID] [color=#CCCCCC] [stroke width=0.50]}] [x1=-3.54] [y1=3.54] [x2=25.00] [y2=3.54]
RenderSVGText {text} at (10,304) size 261x46 contains 1 chunk(s)

Powered by Google App Engine
This is Rietveld 408576698