Diff
Modified: trunk/LayoutTests/ChangeLog (131973 => 131974)
--- trunk/LayoutTests/ChangeLog 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/LayoutTests/ChangeLog 2012-10-20 02:51:00 UTC (rev 131974)
@@ -1,3 +1,23 @@
+2012-10-19 Florin Malita <[email protected]>
+
+ Incorrect pattern scaling
+ https://bugs.webkit.org/show_bug.cgi?id=99870
+
+ Reviewed by Dirk Schulze.
+
+ * platform/chromium-linux/svg/custom/js-late-pattern-creation-expected.png:
+ * platform/chromium-linux/svg/custom/pattern-scaling-expected.png: Added.
+ * platform/chromium-linux/svg/custom/pattern-scaling-expected.txt: Added.
+ * platform/chromium-linux/svg/custom/pattern-with-transformation-expected.png:
+ * platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
+ * platform/chromium-win/svg/custom/pattern-skew-transformed-expected.png:
+ * platform/chromium/TestExpectations:
+ * platform/efl/TestExpectations:
+ * platform/gtk/TestExpectations:
+ * platform/mac/TestExpectations:
+ * platform/qt/TestExpectations:
+ * svg/custom/pattern-scaling.svg: Added.
+
2012-10-19 Levi Weintraub <[email protected]>
Unreviewed gardening. Marking platform/chromium/virtual/gpu/fast/canvas/webgl/array-bounds-clamping.html
Modified: trunk/LayoutTests/platform/chromium/TestExpectations (131973 => 131974)
--- trunk/LayoutTests/platform/chromium/TestExpectations 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/LayoutTests/platform/chromium/TestExpectations 2012-10-20 02:51:00 UTC (rev 131974)
@@ -2797,6 +2797,13 @@
crbug.com/83504 [ Win ] fast/css/custom-font-xheight.html [ Failure Pass Slow ]
crbug.com/83504 [ Mac ] fast/css/custom-font-xheight.html [ Failure Pass ]
+# Need rebaselining after 99870
+webkit.org/b/99870 svg/custom/js-late-pattern-creation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-skew-transformed.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-with-transformation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/transforms/text-with-pattern-inside-transformed-html.xhtml [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-scaling.svg [ Pass ImageOnlyFailure Missing ]
+
# Need rebaseline
webkit.org/b/99818 fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n.html [ Pass ImageOnlyFailure Missing ]
webkit.org/b/99818 fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic.html [ Pass ImageOnlyFailure ]
Modified: trunk/LayoutTests/platform/chromium-linux/svg/custom/js-late-pattern-creation-expected.png
(Binary files differ)
Added: trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.png (0 => 131974)
--- trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.png (rev 0)
+++ trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.png 2012-10-20 02:51:00 UTC (rev 131974)
@@ -0,0 +1,21 @@
+\x89PNG
+
+
+IHDR X ' )tEXtchecksum 60195a80562f99a97414b562a5c6ea10\x89
+\xCB rIDATx\x9C\xED\xDDOh\xDF\xF5\xC7\xF1O\xFE\xB4\xBF\xB4\xBF\x92\xC6?\x99\x95\x85\xADÊ\x851\xABQ\\x91Aè\xAEl\x97ܼ\x9D\xE8ɋ\x84\x82\xD8"\xDBP&\xF5hwxH@ЊP\x83\x97ZL\xD0bp\xBBUJ5IMͿ\xD2\x9Blׯ/\xBFߤ\xBF\xC7\xE3>\x9F\xF7\xFB\x97K\x9F\xE4\x9B~\xD3s\xE9ҥ @No\xD3 \xDCh @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2\xFA\xAF\xFE垃=W\xF9\xEA\xA5\xE7\xAE~\xF6j_\xBD\xFA\xD9R\xBC_ X\xAB\xFC L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a\xD7x\xD1\xE8
+\xE6o\xFFy\xE6\xA33\xEFU8\xB8\xAE\xB7wh`]\xB5\xA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mo\xB0\xC2\xE2Ų\xAA\xBE?\x83\xAD\xD5\xF5\xFD)\xA5\xF4\xF6\xF8\xD1\xCC\xFFE`t\x91G\xEF\xBE\xF5\x8F\xBF\xF8\xA2\xE9-.;8Y\x86\x9Eoz\x89Ʒ\x97\xE9\xFDM/\xB1\xC2\xEC\xC2\xEA\xFA\xFE\x94R\x96~{K\xD3+\xAC
+: L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 \xEB\xB9t\xE9R\xD3; P\x93\xE9'\xCE/\xCE4\xBD\xC5e\x9B\xD6oܴ\xBE\xDD\xF4\x97\xCD//\xCC̟kz\x8B\xCBz{z\xBF\xA5\xE9-\xFE\xC7\xF7\xFB\xFBZM\xEF\xB0, \x800\x8F \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a L` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 X a \xEC\xBF⎸\xCF f\xC0 IEND\xAEB`\x82
\ No newline at end of file
Added: trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.txt (0 => 131974)
--- trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.txt 2012-10-20 02:51:00 UTC (rev 131974)
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderSVGRoot {svg} at (10,10) size 692x232
+ RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+ RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
+ RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
+ RenderSVGRect {rect} at (10,10) size 10x10 [fill={[type=SOLID] [color=#008000]}] [x=10.00] [y=10.00] [width=10.00] [height=10.00]
+ RenderSVGContainer {g} at (10,10) size 40x40
+ RenderSVGRect {rect} at (10,10) size 40x40 [fill={[type=SOLID] [color=#FFFF00]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGRect {rect} at (10,10) size 40x40 [fill={[type=PATTERN] [id="pattern"]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGContainer {g} at (10,10) size 40x40
+ RenderSVGContainer {use} at (10,10) size 40x40
+ RenderSVGContainer {g} at (10,10) size 40x40
+ RenderSVGRect {rect} at (10,10) size 40x40 [fill={[type=SOLID] [color=#FFFF00]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGRect {rect} at (10,10) size 40x40 [fill={[type=PATTERN] [id="pattern"]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGContainer {g} at (79,19) size 78x78 [transform={m=((1.93,0.00)(0.00,1.93)) t=(60.00,0.00)}]
+ RenderSVGContainer {use} at (79,19) size 78x78
+ RenderSVGContainer {g} at (79,19) size 78x78
+ RenderSVGRect {rect} at (79,19) size 78x78 [fill={[type=SOLID] [color=#FFFF00]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGRect {rect} at (79,19) size 78x78 [fill={[type=PATTERN] [id="pattern"]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGContainer {g} at (187,27) size 110x110 [transform={m=((2.72,0.00)(0.00,2.72)) t=(160.00,0.00)}]
+ RenderSVGContainer {use} at (187,27) size 110x110
+ RenderSVGContainer {g} at (187,27) size 110x110
+ RenderSVGRect {rect} at (187,27) size 110x110 [fill={[type=SOLID] [color=#FFFF00]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGRect {rect} at (187,27) size 110x110 [fill={[type=PATTERN] [id="pattern"]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGContainer {g} at (334,34) size 141x141 [transform={m=((3.48,0.00)(0.00,3.48)) t=(300.00,0.00)}]
+ RenderSVGContainer {use} at (334,34) size 141x141
+ RenderSVGContainer {g} at (334,34) size 141x141
+ RenderSVGRect {rect} at (334,34) size 141x141 [fill={[type=SOLID] [color=#FFFF00]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGRect {rect} at (334,34) size 141x141 [fill={[type=PATTERN] [id="pattern"]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGContainer {g} at (508,48) size 194x194 [transform={m=((4.82,0.00)(0.00,4.82)) t=(460.00,0.00)}]
+ RenderSVGContainer {use} at (508,48) size 194x194
+ RenderSVGContainer {g} at (508,48) size 194x194
+ RenderSVGRect {rect} at (508,48) size 194x194 [fill={[type=SOLID] [color=#FFFF00]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
+ RenderSVGRect {rect} at (508,48) size 194x194 [fill={[type=PATTERN] [id="pattern"]}] [x=10.00] [y=10.00] [width=40.00] [height=40.00]
Modified: trunk/LayoutTests/platform/chromium-linux/svg/custom/pattern-with-transformation-expected.png
(Binary files differ)
Modified: trunk/LayoutTests/platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png
(Binary files differ)
Modified: trunk/LayoutTests/platform/chromium-win/svg/custom/pattern-skew-transformed-expected.png
(Binary files differ)
Modified: trunk/LayoutTests/platform/efl/TestExpectations (131973 => 131974)
--- trunk/LayoutTests/platform/efl/TestExpectations 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/LayoutTests/platform/efl/TestExpectations 2012-10-20 02:51:00 UTC (rev 131974)
@@ -1978,6 +1978,13 @@
# css3-conditionals support is not yet enabled.
webkit.org/b/86146 css3/supports.html
+# Need rebaselining after 99870
+webkit.org/b/99870 svg/custom/js-late-pattern-creation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-skew-transformed.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-with-transformation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/transforms/text-with-pattern-inside-transformed-html.xhtml [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-scaling.svg [ Pass ImageOnlyFailure Missing ]
+
# Occasionally fails if run after right after
# fast/selectors/unqualified-hover-quirks.html or itself.
webkit.org/b/10890 fast/selectors/unqualified-hover-strict.html [ Failure Pass ]
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (131973 => 131974)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2012-10-20 02:51:00 UTC (rev 131974)
@@ -81,6 +81,13 @@
inspector/styles/vendor-prefixes.html [ WontFix ]
fast/css/apple-prefix.html [ WontFix ]
+# Need rebaselining after 99870
+webkit.org/b/99870 svg/custom/js-late-pattern-creation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-skew-transformed.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-with-transformation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/transforms/text-with-pattern-inside-transformed-html.xhtml [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-scaling.svg [ Pass ImageOnlyFailure Missing ]
+
# This port doesn't support detecting slow unload handlers.
fast/dom/Window/slow-unload-handler.html [ WontFix ]
fast/dom/Window/slow-unload-handler-only-frame-is-stopped.html [ WontFix ]
Modified: trunk/LayoutTests/platform/mac/TestExpectations (131973 => 131974)
--- trunk/LayoutTests/platform/mac/TestExpectations 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2012-10-20 02:51:00 UTC (rev 131974)
@@ -1000,6 +1000,13 @@
webkit.org/b/58192 fast/frames/flattening/iframe-flattening-offscreen.html [ Failure Pass ]
webkit.org/b/58192 svg/dom/SVGScriptElement/script-set-href.svg [ Failure Pass ]
+# Need rebaselining after 99870
+webkit.org/b/99870 svg/custom/js-late-pattern-creation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-skew-transformed.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-with-transformation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/transforms/text-with-pattern-inside-transformed-html.xhtml [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-scaling.svg [ Pass ImageOnlyFailure Missing ]
+
# Flakey cookies tests
webkit.org/b/73694 http/tests/cookies/simple-cookies-expired.html [ Failure Pass ]
webkit.org/b/73695 http/tests/cookies/simple-cookies-max-age.html [ Failure Pass ]
Modified: trunk/LayoutTests/platform/qt/TestExpectations (131973 => 131974)
--- trunk/LayoutTests/platform/qt/TestExpectations 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/LayoutTests/platform/qt/TestExpectations 2012-10-20 02:51:00 UTC (rev 131974)
@@ -2405,6 +2405,13 @@
# Paletted PNG with ICC color profiles not working.
webkit.org/b/86722 fast/images/paletted-png-with-color-profile.html
+# Need rebaselining after 99870
+webkit.org/b/99870 svg/custom/js-late-pattern-creation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-skew-transformed.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-with-transformation.svg [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/transforms/text-with-pattern-inside-transformed-html.xhtml [ Pass ImageOnlyFailure ]
+webkit.org/b/99870 svg/custom/pattern-scaling.svg [ Pass ImageOnlyFailure Missing ]
+
# Disable webaudio codec tests, including proprietary codecs.
webkit.org/b/88794 webaudio/codec-tests
Added: trunk/LayoutTests/svg/custom/pattern-scaling.svg (0 => 131974)
--- trunk/LayoutTests/svg/custom/pattern-scaling.svg (rev 0)
+++ trunk/LayoutTests/svg/custom/pattern-scaling.svg 2012-10-20 02:51:00 UTC (rev 131974)
@@ -0,0 +1,31 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="800" height="600">
+ <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=99870 -->
+ <defs>
+ <pattern id="pattern" width="20" height="20" patternUnits="userSpaceOnUse">
+ <rect width="10" height="10" fill="green"/>
+ <rect x="10" y="10" width="10" height="10" fill="green"/>
+ </pattern>
+
+ <g id="grp">
+ <rect x="10" y="10" width="40" height="40" fill="yellow"/>
+ <rect x="10" y="10" width="40" height="40" fill="url(#pattern)"/>
+ </g>
+ </defs>
+
+ <g>
+ <use xlink:href=""
+ </g>
+ <g transform="translate(60,0) scale(1.93453)">
+ <use xlink:href=""
+ </g>
+ <g transform="translate(160,0) scale(2.72323)">
+ <use xlink:href=""
+ </g>
+ <g transform="translate(300,0) scale(3.483432)">
+ <use xlink:href=""
+ </g>
+ <g transform="translate(460,0) scale(4.8223434)">
+ <use xlink:href=""
+ </g>
+</svg>
+
Modified: trunk/Source/WebCore/ChangeLog (131973 => 131974)
--- trunk/Source/WebCore/ChangeLog 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/Source/WebCore/ChangeLog 2012-10-20 02:51:00 UTC (rev 131974)
@@ -1,3 +1,18 @@
+2012-10-19 Florin Malita <[email protected]>
+
+ Incorrect pattern scaling
+ https://bugs.webkit.org/show_bug.cgi?id=99870
+
+ Reviewed by Dirk Schulze.
+
+ The pattern space transform scale should reflect the tile_size(user space)
+ to tile_image_size ratio, instead of tile_size to absolute_tile_size.
+
+ Test: svg/custom/pattern-scaling.svg
+
+ * rendering/svg/RenderSVGResourcePattern.cpp:
+ (WebCore::RenderSVGResourcePattern::applyResource):
+
2012-10-19 Tony Chang <[email protected]>
RenderFlexibleBox::preferredMainAxisContentExtentForChild can return a negative value
Modified: trunk/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp (131973 => 131974)
--- trunk/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp 2012-10-20 02:33:29 UTC (rev 131973)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp 2012-10-20 02:51:00 UTC (rev 131974)
@@ -126,8 +126,9 @@
return false;
// Compute pattern space transformation.
+ const IntSize tileImageSize = tileImage->logicalSize();
patternData->transform.translate(tileBoundaries.x(), tileBoundaries.y());
- patternData->transform.scale(tileBoundaries.width() / clampedAbsoluteTileBoundaries.width(), tileBoundaries.height() / clampedAbsoluteTileBoundaries.height());
+ patternData->transform.scale(tileBoundaries.width() / tileImageSize.width(), tileBoundaries.height() / tileImageSize.height());
AffineTransform patternTransform = m_attributes.patternTransform();
if (!patternTransform.isIdentity())