mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision ac3d096a5972dea5ecca1c43e324086895db7c6f
This commit is contained in:
parent
1c74a80e28
commit
db54f176d0
47 changed files with 860 additions and 246 deletions
|
@ -0,0 +1,36 @@
|
|||
<!doctype html>
|
||||
<title>::marker pseudo-elements generated by ::before and ::after are not addressable by selectors</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-lists/#list-item">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1539171">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1543758">
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<link rel="match" href="nested-marker-ref.html">
|
||||
<style>
|
||||
li, ::marker {
|
||||
color: red;
|
||||
}
|
||||
li::before, li::after {
|
||||
display: list-item;
|
||||
content: "Before";
|
||||
}
|
||||
li::after {
|
||||
content: "After";
|
||||
}
|
||||
.tweak::marker {
|
||||
color: blue;
|
||||
}
|
||||
.tweak, .tweak::before, .tweak::after {
|
||||
color: initial;
|
||||
}
|
||||
</style>
|
||||
<ol>
|
||||
<li>Foo
|
||||
<li>Bar
|
||||
<script>
|
||||
window.onload = function() {
|
||||
document.body.offsetTop;
|
||||
for (let li of document.querySelectorAll("li"))
|
||||
li.classList.add("tweak");
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<title>CSS test reference</title>
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<style>
|
||||
li::marker {
|
||||
color: blue;
|
||||
}
|
||||
div {
|
||||
display: list-item;
|
||||
}
|
||||
</style>
|
||||
<ol>
|
||||
<li><div>Before</div>Foo<div>After</div>
|
||||
<li><div>Before</div>Bar<div>After</div>
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<title>::marker pseudo-elements generated by ::before and ::after are not addressable by global selectors</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-lists/#list-item">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1539171">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1543758">
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<link rel="match" href="nested-marker-ref.html">
|
||||
<style>
|
||||
::marker {
|
||||
color: red;
|
||||
}
|
||||
li::marker {
|
||||
color: blue;
|
||||
}
|
||||
li::before, li::after {
|
||||
display: list-item;
|
||||
content: "Before";
|
||||
}
|
||||
li::after {
|
||||
content: "After";
|
||||
}
|
||||
</style>
|
||||
<ol>
|
||||
<li>Foo
|
||||
<li>Bar
|
Loading…
Add table
Add a link
Reference in a new issue