| Index: LayoutTests/css3/filters/effect-reference-subregion-hw.html
|
| diff --git a/LayoutTests/css3/filters/effect-reference-hw.html b/LayoutTests/css3/filters/effect-reference-subregion-hw.html
|
| similarity index 80%
|
| copy from LayoutTests/css3/filters/effect-reference-hw.html
|
| copy to LayoutTests/css3/filters/effect-reference-subregion-hw.html
|
| index 287320b05ce24ff6469792ea56ef66e29c570dad..99a6a5d441213e1f25b1c669ade3143a333ebcef 100644
|
| --- a/LayoutTests/css3/filters/effect-reference-hw.html
|
| +++ b/LayoutTests/css3/filters/effect-reference-subregion-hw.html
|
| @@ -1,13 +1,13 @@
|
| <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
|
| <defs>
|
| <filter id="colormatrix" color-interpolation-filters="sRGB">
|
| - <feColorMatrix type="hueRotate" values="180"/>
|
| + <feColorMatrix type="hueRotate" values="180" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="morphology" color-interpolation-filters="sRGB">
|
| - <feMorphology radius="10" operator="dilate"/>
|
| + <feMorphology radius="10" operator="dilate" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="componenttransfer" color-interpolation-filters="sRGB">
|
| - <feComponentTransfer>
|
| + <feComponentTransfer x="10" y="10" width="140" height="70">
|
| <feFuncR type="linear" slope="0.5">
|
| <feFuncG type="linear" slope="0.5">
|
| <feFuncB type="linear" slope="0.5">
|
| @@ -15,34 +15,33 @@
|
| </feComponentTransfer>
|
| </filter>
|
| <filter id="blurY" color-interpolation-filters="sRGB">
|
| - <feGaussianBlur stdDeviation="0 5"/>
|
| + <feGaussianBlur stdDeviation="0 10" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="blend" color-interpolation-filters="sRGB">
|
| <feGaussianBlur stdDeviation="5 5"/>
|
| - <feBlend in2="SourceGraphic" mode="screen">
|
| + <feBlend in2="SourceGraphic" mode="screen" x="10" y="10" width="140" height="70">
|
| </filter>
|
| <filter id="lighting" color-interpolation-filters="sRGB">
|
| - <feSpecularLighting>
|
| + <feSpecularLighting x="10" y="10" width="140" height="70">
|
| <feSpotLight pointsAtX="160" pointsAtY="130" pointsAtZ="0" specularExponent="1" limitingConeAngle="20" x="0" y="0" z="10"/>
|
| </feSpecularLighting>
|
| <feColorMatrix type="matrix" values="0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1"/>
|
| - <feBlend in2="SourceGraphic" mode="multiply"/>
|
| </filter>
|
| <filter id="offset" x="0%" color-interpolation-filters="sRGB">
|
| - <feOffset dx="10" dy="10"/>
|
| + <feOffset dx="10" dy="10" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="convolvematrix" color-interpolation-filters="sRGB">
|
| - <feConvolveMatrix order="3 3" kernelMatrix="1 1 1 1 -7 1 1 1 1" bias ="0.3"/>
|
| + <feConvolveMatrix order="3 3" kernelMatrix="1 1 1 1 -7 1 1 1 1" bias ="0.3" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="displacement" color-interpolation-filters="sRGB">
|
| - <feDisplacementMap scale="10" xChannelSelector="R" yChannelSelector="G"/>
|
| + <feDisplacementMap scale="10" xChannelSelector="R" yChannelSelector="G" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="merge" color-interpolation-filters="sRGB">
|
| <feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.3 0" result="trans"/>
|
| <feOffset dx="5" dy="5" in="trans" result="offset1"/>
|
| <feOffset dx="10" dy="10" in="trans" result="offset2"/>
|
| <feOffset dx="15" dy="15" in="trans" result="offset3"/>
|
| - <feMerge>
|
| + <feMerge x="10" y="10" width="140" height="70">
|
| <feMergeNode in="trans"/>
|
| <feMergeNode in="offset1"/>
|
| <feMergeNode in="offset2"/>
|
| @@ -50,14 +49,14 @@
|
| </feMerge>
|
| </filter>
|
| <filter id="flood" color-interpolation-filters="sRGB">
|
| - <feFlood flood-color="green"/>
|
| + <feFlood flood-color="green" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="turbulence" color-interpolation-filters="sRGB">
|
| - <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
|
| + <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2" x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| <filter id="tile">
|
| <feColorMatrix x="0" y="0" width="40" height="40"/>
|
| - <feTile x="0" y="0" width="160" height="80"/>
|
| + <feTile x="10" y="10" width="140" height="70"/>
|
| </filter>
|
| </defs>
|
| </svg>
|
| @@ -67,7 +66,6 @@ img {
|
| -webkit-transform: translateZ(0);
|
| }
|
| </style>
|
| -<img src="resources/reference.png">
|
| <img style="-webkit-filter: url(#colormatrix); filter: url(#colormatrix);" src="resources/reference.png">
|
| <img style="-webkit-filter: url(#morphology); filter: url(#morphology);" src="resources/reference.png">
|
| <img style="-webkit-filter: url(#componenttransfer); filter: url(#componenttransfer);" src="resources/reference.png">
|
|
|