mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05: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>
|
Loading…
Add table
Add a link
Reference in a new issue