mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Update web-platform-tests to revision b'065cf84e9f00d1c11faf2a41e500a73ad6b95a48'
This commit is contained in:
parent
4931ee0eba
commit
4e30ee5e08
184 changed files with 7097 additions and 2788 deletions
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-96; totalPixels=0-356">
|
||||
<meta name="assert" content="Test checks whether clip-path border-box works correctly or not. This test is for clip-path applied to an HTML element.">
|
||||
<style>
|
||||
div {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-355">
|
||||
<meta name="assert" content="Test checks whether clip-path border-box works correctly or not. This test is for clip-path applied to an SVG SVG element.">
|
||||
<style>
|
||||
svg {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-355">
|
||||
<meta name="assert" content="Test checks whether clip-path content-box works correctly or not.">
|
||||
</head>
|
||||
<style>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-355">
|
||||
<meta name="assert" content="Test checks whether clip-path fill-box works correctly or not. This test is for clip-path applied to an SVG SVG element.">
|
||||
<style>
|
||||
svg {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-355">
|
||||
<meta name="assert" content="Test checks whether clip-path padding-box works correctly or not. This test is for clip-path applied to an SVG SVG element.">
|
||||
<style>
|
||||
svg {
|
||||
|
|
|
@ -10,13 +10,19 @@
|
|||
polygon coordinates. The test passes if you see a multiple green and blue
|
||||
stripe pairs. For each pair, the blue and green stripe must be of same
|
||||
length.">
|
||||
<meta name="flags" content="ahem">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
div {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
background-color: green;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font: 20px/1 Ahem;
|
||||
}
|
||||
div:nth-child(odd) {
|
||||
margin-bottom: 5px;
|
||||
|
@ -43,4 +49,4 @@ div:nth-child(odd) {
|
|||
<div style="clip-path: polygon(0 0, 30ex 0, 30ex 20px, 0 20px)"></div>
|
||||
<div style="width: 30ex"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-355">
|
||||
<meta name="assert" content="Test checks whether clip-path stroke-box works correctly or not. This test is for clip-path applied to an SVG SVG element.">
|
||||
<style>
|
||||
svg {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-64; totalPixels=0-194">
|
||||
<meta name="assert" content="Test checks whether clip-path stroke-box works correctly or not.">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-7; totalPixels=0-150">
|
||||
<meta name="assert" content="Test checks whether clip-path view-box with viewbox works correctly or not.">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path">
|
||||
<link rel="match" href="clip-path-geometryBox-1-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-355">
|
||||
<meta name="assert" content="Test checks whether clip-path view-box works correctly or not. This test is for clip-path applied to an SVG SVG element.">
|
||||
<style>
|
||||
svg {
|
||||
|
|
|
@ -3,12 +3,18 @@
|
|||
<head>
|
||||
<title>CSS Masking: Reftest reference</title>
|
||||
<link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
|
||||
<meta name="flags" content="ahem">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
div {
|
||||
height: 20px;
|
||||
background-color: green;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font: 20px/1 Ahem;
|
||||
}
|
||||
div:nth-child(odd) {
|
||||
margin-bottom: 5px;
|
||||
|
@ -35,4 +41,4 @@ div:nth-child(odd) {
|
|||
<div style="width: 30ex"></div>
|
||||
<div style="width: 30ex"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-shapes/#supported-basic-shapes">
|
||||
<link rel="match" href="svg-clip-path-fixed-values-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-62; totalPixels=0-608">
|
||||
<meta name="assert" content="clip-path clips correctly">
|
||||
<style>
|
||||
svg {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image">
|
||||
<link rel="match" href="mask-image-3-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-6; totalPixels=0-49">
|
||||
<meta name="assert" content="Test checks whether clip-path in SVG mask works correctly or not.">
|
||||
<svg height="0">
|
||||
<mask id="mask1" x="0" y="0" width="1" height="1" >
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#propdef-mask-mode">
|
||||
<link rel="match" href="mask-mode-ref.html">
|
||||
<meta name="assert" content="Test checks that mask an SVG image referenced by mask-image is correct with different mask mode.">
|
||||
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-10000">
|
||||
<style type="text/css">
|
||||
div {
|
||||
background-color: blue;
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#propdef-mask-mode">
|
||||
<link rel="match" href="mask-mode-ref.html">
|
||||
<meta name="assert" content="Test checks that mask a PNG image referenced by mask-image is correct with different mask mode.">
|
||||
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-10000">
|
||||
<style type="text/css">
|
||||
div {
|
||||
background-color: blue;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#svg-masks"/>
|
||||
<html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#MaskElement"/>
|
||||
<html:link rel="match" href="reference/mask-text-001-ref.svg"/>
|
||||
<html:link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<metadata class="flags">svg</metadata>
|
||||
<desc class="assert">The masked target elements get scaled with negative
|
||||
factors. Check if that influences masking. You should see 4 green
|
||||
|
@ -15,4 +16,4 @@
|
|||
<text fill="#fff" font-family="Ahem" font-size="12px" transform="rotate(90 50 50)" x="50%" y="50%">foobar</text>
|
||||
</mask>
|
||||
<rect width="100%" height="100%" x="0" y="0" mask="url(#mask)"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1,015 B After Width: | Height: | Size: 1.1 KiB |
|
@ -3,6 +3,7 @@
|
|||
<g id="testmeta">
|
||||
<title>CSS Masking: Reftest reference</title>
|
||||
<html:link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"/>
|
||||
<html:link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<metadata class="flags">svg</metadata>
|
||||
</g>
|
||||
<text fill="#000" font-family="Ahem" font-size="12px" transform="rotate(90 50 50)" x="50" y="50">foobar</text>
|
||||
|
|
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 497 B |
Loading…
Add table
Add a link
Reference in a new issue