Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2009-11-22 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann. Tests to the filterRes implementation for SVG Filters [https://bugs.webkit.org/show_bug.cgi?id=6021] big-sized-filter: tests if filter quality is scaled down on a too big SourceImage (SourceGraphic, SourceAlpha) big-sized-filter-2: tests if the filter quality is scaled down on a too big filter effect size. filterRes: Various tests of SVG Filters with different values for filterRes attributes. Checks * that kernel values (if present) are scaled with the filterRes * subRegion calculation is correct for effects with deeper dependencies. * platform/mac/svg/filters/big-sized-filter-2-expected.txt: Added. * platform/mac/svg/filters/big-sized-filter-expected.checksum: Added. * platform/mac/svg/filters/big-sized-filter-expected.png: Added. * platform/mac/svg/filters/big-sized-filter-expected.txt: Added. * platform/mac/svg/filters/filterRes-expected.checksum: Added. * platform/mac/svg/filters/filterRes-expected.png: Added. * platform/mac/svg/filters/filterRes-expected.txt: Added. * svg/filters/big-sized-filter-2.svg: Added. * svg/filters/big-sized-filter.svg: Added. * svg/filters/filterRes.svg: Added. Canonical link: https://commits.webkit.org/42730@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
11 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,7 @@ | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x600 | ||
RenderSVGRoot {svg} at (0,0) size 20x20 | ||
RenderSVGHiddenContainer {defs} at (0,0) size 0x0 | ||
RenderSVGContainer {g} at (0,0) size 20x20 | ||
RenderPath {rect} at (0,0) size 20x20 [fill={[type=SOLID] [color=#FF0000]}] [filter=filter] [data="M0.00,0.00 L20.00,0.00 L20.00,20.00 L0.00,20.00 Z"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
5ca950940e92ad43c979676273dfbed6 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,11 @@ | ||
KRenderingPaintServer {id="gradient" [type=LINEAR-GRADIENT] [stops=[(0.00,#008000), (0.10,#FF0000)]] [start=(0,0)] [end=(1,1)]} | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x600 | ||
RenderSVGRoot {svg} at (0,0) size 20000x20000 | ||
RenderSVGHiddenContainer {defs} at (0,0) size 0x0 | ||
RenderSVGHiddenContainer {linearGradient} at (0,0) size 0x0 | ||
RenderSVGGradientStop {stop} at (0,0) size 0x0 | ||
RenderSVGGradientStop {stop} at (0,0) size 0x0 | ||
RenderSVGContainer {g} at (0,0) size 20000x20000 | ||
RenderPath {rect} at (0,0) size 20000x20000 [fill={[type=LINEAR-GRADIENT] [stops=[(0.00,#008000), (0.10,#FF0000)]] [start=(0,0)] [end=(1,1)]}] [filter=filter] [data="M0.00,0.00 L20000.00,0.00 L20000.00,20000.00 L0.00,20000.00 Z"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
fd47ba5b79debb914d2c391d026c9eee |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,21 @@ | ||
KRenderingPaintServer {id="linGrad" [type=LINEAR-GRADIENT] [stops=[(0.00,#FF0000), (1.00,#00FF00)]] [start=(0,0)] [end=(1,1)]} | ||
KRenderingPaintServer {id="radGrad" [type=RADIAL-GRADIENT] [stops=[(0.00,#FF0000), (1.00,#00FF00)]] [center=(0.50,0.50)] [focal=(0.50,0.50)] [radius=0.50]} | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x600 | ||
RenderSVGRoot {svg} at (10,10) size 445.50x100 | ||
RenderSVGHiddenContainer {defs} at (0,0) size 0x0 | ||
RenderSVGHiddenContainer {linearGradient} at (0,0) size 0x0 | ||
RenderSVGGradientStop {stop} at (0,0) size 0x0 | ||
RenderSVGGradientStop {stop} at (0,0) size 0x0 | ||
RenderSVGHiddenContainer {radialGradient} at (0,0) size 0x0 | ||
RenderSVGGradientStop {stop} at (0,0) size 0x0 | ||
RenderSVGGradientStop {stop} at (0,0) size 0x0 | ||
RenderSVGImage {image} at (10,10) size 100x100 [filter=f1] | ||
RenderPath {rect} at (130,10) size 100x100 [fill={[type=SOLID] [color=#000000]}] [filter=over] [data="M130.00,10.00 L230.00,10.00 L230.00,110.00 L130.00,110.00 Z"] | ||
RenderSVGContainer {g} at (250,10) size 100x100 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,10.00)}] [filter=gauss] | ||
RenderPath {rect} at (250,10) size 75x75 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L75.00,0.00 L75.00,75.00 L0.00,75.00 Z"] | ||
RenderPath {rect} at (275,35) size 75x75 [fill={[type=SOLID] [color=#0000FF]}] [data="M25.00,25.00 L100.00,25.00 L100.00,100.00 L25.00,100.00 Z"] | ||
RenderSVGContainer {g} at (389.50,29.50) size 66x66 [transform={m=((1.00,0.00)(0.00,1.00)) t=(370.00,10.00)}] [filter=dilate2] | ||
RenderPath {rect} at (389.50,29.50) size 51x51 [stroke={[type=SOLID] [color=#FF0000]}] [data="M20.00,20.00 L70.00,20.00 L70.00,70.00 L20.00,70.00 Z"] | ||
RenderPath {rect} at (404.50,44.50) size 51x51 [stroke={[type=SOLID] [color=#0000FF]}] [data="M35.00,35.00 L85.00,35.00 L85.00,85.00 L35.00,85.00 Z"] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.