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

Unified Diff: LayoutTests/platform/linux/svg/custom/use-on-use-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/custom/use-on-use-expected.txt
diff --git a/LayoutTests/platform/win/svg/custom/use-on-use-expected.txt b/LayoutTests/platform/linux/svg/custom/use-on-use-expected.txt
similarity index 68%
copy from LayoutTests/platform/win/svg/custom/use-on-use-expected.txt
copy to LayoutTests/platform/linux/svg/custom/use-on-use-expected.txt
index 9ccd2f78ab2aca89d49c4d002ed08c92107079ac..99e639a02e3bc37272e871f1d08c8541662f8b95 100644
--- a/LayoutTests/platform/win/svg/custom/use-on-use-expected.txt
+++ b/LayoutTests/platform/linux/svg/custom/use-on-use-expected.txt
@@ -1,24 +1,24 @@
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (20,40) size 481x88
+ RenderSVGRoot {svg} at (20,39) size 481x89
RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGContainer {g} at (0,0) size 125x30
+ RenderSVGContainer {g} at (0,0) size 125x31
RenderSVGRect {rect} at (0,0) size 125x25 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
- RenderSVGEllipse {circle} at (40,0) size 40x30 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
- RenderSVGContainer {use} at (0,0) size 125x30
- RenderSVGContainer {g} at (0,0) size 125x30
+ RenderSVGEllipse {circle} at (39,0) size 42x31 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
+ RenderSVGContainer {use} at (0,0) size 125x31
+ RenderSVGContainer {g} at (0,0) size 125x31
RenderSVGRect {rect} at (0,0) size 125x25 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
- RenderSVGEllipse {circle} at (40,0) size 40x30 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
- RenderSVGContainer {g} at (245,40) size 130x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
- RenderSVGContainer {g} at (245,40) size 130x40
+ RenderSVGEllipse {circle} at (39,0) size 42x31 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
+ RenderSVGContainer {g} at (245,39) size 130x42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(125.00,25.00)}]
+ RenderSVGContainer {g} at (245,39) size 130x42
RenderSVGRect {rect} at (245,45) size 130x30 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
- RenderSVGEllipse {circle} at (290,40) size 40x40 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
+ RenderSVGEllipse {circle} at (289,39) size 42x42 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
RenderSVGText {text} at (10,46) size 241x18 contains 1 chunk(s)
RenderSVGInlineText {#text} at (0,0) size 241x18
chunk 1 text run 1 at (10.00,60.00) startOffset 0 endOffset 38 width 240.50: "The two objects should look identical."
- RenderSVGContainer {use} at (45,40) size 130x40 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
- RenderSVGContainer {g} at (45,40) size 130x40
- RenderSVGContainer {g} at (45,40) size 130x40
+ RenderSVGContainer {use} at (45,39) size 130x42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(25.00,25.00)}]
+ RenderSVGContainer {g} at (45,39) size 130x42
+ RenderSVGContainer {g} at (45,39) size 130x42
RenderSVGRect {rect} at (45,45) size 130x30 [stroke={[type=SOLID] [color=#000080] [stroke width=5.00]}] [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=60.00] [height=10.00]
- RenderSVGEllipse {circle} at (90,40) size 40x40 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]
+ RenderSVGEllipse {circle} at (89,39) size 42x42 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [cx=30.00] [cy=5.00] [r=10.00]

Powered by Google App Engine
This is Rietveld 408576698