mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="translate(40px 0)">
|
||||
<g transform="translate(40 0)">
|
||||
<rect y="40" width="80" height="80" fill="green"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleX(2)">
|
||||
<g transform="scale(2 1)">
|
||||
<rect x="20" y="40" width="40" height="80" fill="green"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleY(2)">
|
||||
<g transform="scale(1 2)">
|
||||
<rect x="40" y="20" width="80" height="40" fill="green"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="rotate(90deg,20px,20px)">
|
||||
<g transform="rotate(90,20,20)">
|
||||
<rect x="40" y="-80" width="80" height="80" fill="green"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleX(2)">
|
||||
<rect x="10" y="40" width="20" height="80" fill="green" transform="scaleX(2)"/>
|
||||
<g transform="scale(2 1)">
|
||||
<rect x="10" y="40" width="20" height="80" fill="green" transform="scale(2 1)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleY(2)">
|
||||
<rect x="40" y="10" width="80" height="20" fill="green" transform="scaleY(2)"/>
|
||||
<g transform="scale(1 2)">
|
||||
<rect x="40" y="10" width="80" height="20" fill="green" transform="scale(1 2)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
|
||||
<link rel="match" href="reference/svg-green-square-250x250-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-1">
|
||||
<meta name="flags" content="svg">
|
||||
<meta name="assert" content="Transforms on a parent element should be pre-multiplied to transforms on a child element. The group of elements should be skewed vertically. Additionally, the child rect should be skewed vertically.">
|
||||
<style type="text/css">
|
||||
|
@ -25,4 +26,4 @@
|
|||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="translate(40 0)">
|
||||
<rect y="20" width="80" height="40" fill="green" transform="scaleY(2)"/>
|
||||
<rect y="20" width="80" height="40" fill="green" transform="scale(1 2)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleX(2)">
|
||||
<g transform="scale(2 1)">
|
||||
<rect x="40" y="-60" width="80" height="40" fill="green" transform="rotate(90)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleY(2)">
|
||||
<g transform="scale(1 2)">
|
||||
<rect y="20" width="80" height="40" fill="green" transform="translate(40 0)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -21,8 +21,9 @@
|
|||
<svg>
|
||||
<path d="M 2,1 100,1 198,99 100,99 Z" fill="red"/>
|
||||
<g transform="skewX(45)">
|
||||
<rect width="200" height="100" fill="green" transform="scaleX(0.5)"/>
|
||||
<!-- FIXME: This test will still pass if the transform= is ignored -->
|
||||
<rect width="200" height="100" fill="green" transform="scale(0.5 1)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="matrix(-1 0 0 -2 120 120)">
|
||||
<rect width="40" height="40" fill="green" transform="scaleX(2)"/>
|
||||
<rect width="40" height="40" fill="green" transform="scale(2 1)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="translate(20 20)">
|
||||
<rect x="21" y="42" width="78" height="156" fill="red" transform="scaleY(0.5)"/> <!-- false positive if scaleY is negative; need to fix -->
|
||||
<rect x="21" y="42" width="78" height="156" fill="red" transform="scale(1 0.5)"/> <!-- false positive if scaleY is negative; need to fix -->
|
||||
<rect x="20" y="-100" width="80" height="80" fill="green" transform="rotate(90)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="translate(20 0)">
|
||||
<rect x="42" y="41" width="156" height="78" fill="red" transform="scaleX(0.5)"/> <!-- false positive if scaleX is negative -->
|
||||
<rect x="42" y="41" width="156" height="78" fill="red" transform="scale(0.5 1)"/> <!-- false positive if scaleX is negative -->
|
||||
<rect width="40" height="40" fill="green" transform="matrix(-2 0 0 -2 100 120)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="translate(0 25px)">
|
||||
<rect x="1" y="1" width="78" height="78" fill="red" transform="translate(40px 15px)"/>
|
||||
<g transform="translate(0 25)">
|
||||
<rect x="1" y="1" width="78" height="78" fill="red" transform="translate(40 15)"/>
|
||||
<rect x="80" y="30" width="160" height="160" fill="green" transform="scale(0.5)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="scale(0.5)">
|
||||
<rect x="62" y="82" width="156" height="156" fill="red" transform="translate(20 0)"/>
|
||||
<rect x="160" y="80" width="320" height="160" fill="green" transform="scaleX(0.5)"/>
|
||||
<rect x="160" y="80" width="320" height="160" fill="green" transform="scale(0.5 1)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="scaleX(0.5)">
|
||||
<g transform="scale(0.5 1)">
|
||||
<rect x="82" y="21" width="156" height="78" fill="red" transform="translate(0 20)"/>
|
||||
<rect x="160" y="80" width="320" height="160" fill="green" transform="scale(0.5)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="scaleY(0.5)"> <!-- false positive if scaleY is negative; need to fix -->
|
||||
<g transform="scale(1 0.5)"> <!-- false positive if scaleY is negative; need to fix -->
|
||||
<rect x="21" y="42" width="78" height="156" fill="red" transform="translate(20 40)"/>
|
||||
<rect x="80" y="-120" width="160" height="80" fill="green" transform="rotate(90)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="rotate(90)">
|
||||
<rect x="20" y="-120" width="80" height="80" fill="green" transform="translate(20 0)"/>
|
||||
<rect x="40" y="-240" width="80" height="160" fill="green" transform="scaleY(0.5)"/> <!-- false positive if scaleY is negative; need to fix -->
|
||||
<rect x="40" y="-240" width="80" height="160" fill="green" transform="scale(1 0.5)"/> <!-- false positive if scaleY is negative; need to fix -->
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/> <!-- this rect is outside the group to catch failures of the group transform -->
|
||||
<g transform="matrix(-0.5 0 0 -0.5 120 90)">
|
||||
<rect x="2" y="-116" width="156" height="312" fill="red" transform="scaleY(0.5)"/> <!-- false positive if scaleY is between 0.4 and -0.3 -->
|
||||
<rect x="2" y="-116" width="156" height="312" fill="red" transform="scale(1 0.5)"/> <!-- false positive if scaleY is between 0.4 and -0.3 -->
|
||||
<rect width="160" height="160" fill="green" transform="translate(0 -60)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
<p>The test passes if there is a green square and no red.</p>
|
||||
<svg>
|
||||
<rect x="41" y="41" width="78" height="78" fill="red"/>
|
||||
<g transform="scaleX(2)">
|
||||
<rect x="40" y="-20" width="80" height="40" fill="green" transform="rotate(90deg,20px,20px)"/>
|
||||
<g transform="scale(2 1)">
|
||||
<rect x="40" y="-20" width="80" height="40" fill="green" transform="rotate(90,20,20)"/>
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue