mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision ac16628eb7eb601957382053011363d2bcf8ce44
This commit is contained in:
parent
ea7e753cea
commit
7e7c8873e4
4408 changed files with 664787 additions and 857286 deletions
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Lists: Add inline child after marker</title>
|
||||
|
||||
<p>The test passes if you see the list marker followed by the text "axxx" in the same line.</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span> </span>
|
||||
<div style="overflow:hidden;">
|
||||
<span>a</span>xxx
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Lists: Add inline child after marker</title>
|
||||
<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
|
||||
<link rel=match href="add-inline-child-after-marker-002-ref.html">
|
||||
<!-- https://bugs.chromium.org/p/chromium/issues/detail?id=1049633 -->
|
||||
|
||||
<p>The test passes if you see the list marker followed by the text "axxx" in the same line.</p>
|
||||
|
||||
<ul>
|
||||
<li id="liTarget">
|
||||
<div id="divTarget" style="overflow:hidden;">
|
||||
<span>a</span>xxx
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<script>
|
||||
document.body.offsetHeight;
|
||||
var new_span=document.createElement("span");
|
||||
var text_node=document.createTextNode(" ");
|
||||
new_span.appendChild(text_node);
|
||||
|
||||
var div_target=document.getElementById("divTarget");
|
||||
var li_target=document.getElementById("liTarget");
|
||||
li_target.insertBefore(new_span,div_target);
|
||||
</script>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Lists: test the change of list-style-position</title>
|
||||
|
||||
<p>The test passes if you see the list marker followed by the text "inline" and "axxx" in a line below.</p>
|
||||
|
||||
<ul>
|
||||
<li style="list-style-position:inside;">
|
||||
<span>inline</span>
|
||||
<div style="overflow:hidden;">
|
||||
<span>a</span>xxx
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Lists: test the change of list-style-position</title>
|
||||
<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
|
||||
<link rel=match href="change-list-style-position-001-ref.html">
|
||||
|
||||
<p>The test passes if you see the list marker followed by the text "inline" and "axxx" in a line below.</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span>inline</span>
|
||||
<div style="overflow:hidden;">
|
||||
<span>a</span>xxx
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<script>
|
||||
document.body.offsetHeight;
|
||||
document.querySelector("li").style.listStylePosition = "inside";
|
||||
</script>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Lists: test the change of list-style-position</title>
|
||||
<style>
|
||||
div {
|
||||
display: list-item;
|
||||
margin-left: 40px;
|
||||
border: 5px solid;
|
||||
}
|
||||
div > div { list-style-type: decimal }
|
||||
div > div > div { list-style-type: lower-roman }
|
||||
.inside { list-style-position: inside }
|
||||
</style>
|
||||
<div><div><div class="inside">text</div></div></div>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Lists: test the change of list-style-position</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<link rel="match" href="change-list-style-position-002-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/generate.html#lists">
|
||||
<style>
|
||||
div {
|
||||
display: list-item;
|
||||
margin-left: 40px;
|
||||
border: 5px solid;
|
||||
}
|
||||
div > div { list-style-type: decimal }
|
||||
div > div > div { list-style-type: lower-roman }
|
||||
.inside { list-style-position: inside }
|
||||
</style>
|
||||
<div><div id="bar"><div id="baz">text</div></div></div>
|
||||
<script>
|
||||
document.getElementById("bar").className = "inside";
|
||||
document.body.offsetHeight;
|
||||
document.getElementById("bar").className = "";
|
||||
document.body.offsetHeight;
|
||||
document.getElementById("baz").className = "inside";
|
||||
</script>
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<div style="display:inline-block;">
|
||||
<ul>
|
||||
<li>
|
||||
xx
|
||||
</li>
|
||||
xx
|
||||
</ul>
|
||||
</div>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://crbug.com/1051181">
|
||||
<link rel="match" href="list-marker-alignment-ref.html">
|
||||
<meta name="assert" content="This test checks the list marker aligns to the first baseline.">
|
||||
<div style="display:inline-block;">
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
xx<br>xx
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue