mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Update web-platform-tests to revision e29e596073468910d8655a8ec23262f17543e147
This commit is contained in:
parent
e56db1f322
commit
5e2118728a
67 changed files with 1403 additions and 821 deletions
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<title>clip-path on inline, horizontal-tb writing-mode</title>
|
||||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path" title="5.1 Clipping Shape: the clip-path property">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<meta content="ahem" name="flags">
|
||||
<style>
|
||||
.container {
|
||||
writing-mode: horizontal-tb;
|
||||
font: 100px/1 Ahem;
|
||||
line-height: 100px;
|
||||
color: red;
|
||||
}
|
||||
.container::first-letter {
|
||||
color:green;
|
||||
}
|
||||
.container > span {
|
||||
clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%);
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div class="container">
|
||||
<span>
|
||||
XX<br>
|
||||
XXX
|
||||
</span>
|
||||
</div>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<title>clip-path on inline, vertical-rl writing-mode</title>
|
||||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path" title="5.1 Clipping Shape: the clip-path property">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<meta content="ahem" name="flags">
|
||||
<style>
|
||||
.container {
|
||||
writing-mode: vertical-rl;
|
||||
margin-left: -100px;
|
||||
font: 100px/1 Ahem;
|
||||
line-height: 100px;
|
||||
color: red;
|
||||
}
|
||||
.container::first-letter {
|
||||
color:green;
|
||||
}
|
||||
.container > span {
|
||||
clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%);
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div class="container">
|
||||
<span>
|
||||
XX<br>
|
||||
XXX
|
||||
</span>
|
||||
</div>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<title>clip-path on inline, vertical-lr writing-mode</title>
|
||||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-clip-path" title="5.1 Clipping Shape: the clip-path property">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
||||
<meta content="ahem" name="flags">
|
||||
<style>
|
||||
.container {
|
||||
writing-mode: vertical-lr;
|
||||
font: 100px/1 Ahem;
|
||||
line-height: 100px;
|
||||
color: red;
|
||||
}
|
||||
.container::first-letter {
|
||||
color:green;
|
||||
}
|
||||
.container > span {
|
||||
clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%);
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div class="container">
|
||||
<span>
|
||||
XX<br>
|
||||
XXX
|
||||
</span>
|
||||
</div>
|
|
@ -1,8 +1,9 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
width="100px" height="100px">
|
||||
<g id="testmeta">
|
||||
<title>CSS Masking: Reftest reference</title>
|
||||
<html:link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"/>
|
||||
<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>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 426 B |
Loading…
Add table
Add a link
Reference in a new issue