mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision e1edaa3dd1bea4415ee88e042affee32028d7f1d
This commit is contained in:
parent
0bd2661492
commit
0cb6acf9a2
4828 changed files with 87680 additions and 41620 deletions
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference: ::marker pseudo elements styled with 'content' property</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<style>
|
||||
.no-marker ::marker {
|
||||
content: none;
|
||||
}
|
||||
.inside {
|
||||
list-style-position: inside;
|
||||
}
|
||||
.symbol {
|
||||
list-style-type: disc;
|
||||
}
|
||||
.decimal {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.string {
|
||||
list-style-type: "string";
|
||||
}
|
||||
.image {
|
||||
list-style-image: url("/images/green-100x50.png");
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
<ol class="inside">
|
||||
<li class="symbol">inside symbol</li>
|
||||
<li class="decimal">inside decimal</li>
|
||||
<li class="string">inside string</li>
|
||||
<li class="image">inside image</li>
|
||||
</ol>
|
||||
<ol class="outside">
|
||||
<li class="symbol">outside symbol</li>
|
||||
<li class="decimal">outside decimal</li>
|
||||
<li class="string">outside string</li>
|
||||
<li class="image">outside image</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="no-marker">
|
||||
<ol class="inside">
|
||||
<li class="symbol">inside symbol</li>
|
||||
<li class="decimal">inside decimal</li>
|
||||
<li class="string">inside string</li>
|
||||
<li class="image">inside image</li>
|
||||
</ol>
|
||||
<ol class="outside">
|
||||
<li class="symbol">outside symbol</li>
|
||||
<li class="decimal">outside decimal</li>
|
||||
<li class="string">outside string</li>
|
||||
<li class="image">outside image</li>
|
||||
</ol>
|
||||
</div>
|
|
@ -0,0 +1,70 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: ::marker pseudo elements styled with 'content' property</title>
|
||||
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
||||
<link rel="match" href="marker-content-020-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-content/#content-property">
|
||||
<meta name="assert" content="Checks that the ::marker is updated when 'content: none' is applied or unapplied dynamically.">
|
||||
<style>
|
||||
.no-marker ::marker {
|
||||
content: none;
|
||||
}
|
||||
.inside {
|
||||
list-style-position: inside;
|
||||
}
|
||||
.symbol {
|
||||
list-style-type: disc;
|
||||
}
|
||||
.decimal {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.string {
|
||||
list-style-type: "string";
|
||||
}
|
||||
.image {
|
||||
list-style-image: url("/images/green-100x50.png");
|
||||
}
|
||||
</style>
|
||||
<div class="no-marker">
|
||||
<ol class="inside">
|
||||
<li class="symbol">inside symbol</li>
|
||||
<li class="decimal">inside decimal</li>
|
||||
<li class="string">inside string</li>
|
||||
<li class="image">inside image</li>
|
||||
</ol>
|
||||
<ol class="outside">
|
||||
<li class="symbol">outside symbol</li>
|
||||
<li class="decimal">outside decimal</li>
|
||||
<li class="string">outside string</li>
|
||||
<li class="image">outside image</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
<ol class="inside">
|
||||
<li class="symbol">inside symbol</li>
|
||||
<li class="decimal">inside decimal</li>
|
||||
<li class="string">inside string</li>
|
||||
<li class="image">inside image</li>
|
||||
</ol>
|
||||
<ol class="outside">
|
||||
<li class="symbol">outside symbol</li>
|
||||
<li class="decimal">outside decimal</li>
|
||||
<li class="string">outside string</li>
|
||||
<li class="image">outside image</li>
|
||||
</ol>
|
||||
</div>
|
||||
<script src="/common/reftest-wait.js"></script>
|
||||
<script>
|
||||
"use strict";
|
||||
addEventListener("load", function() {
|
||||
requestAnimationFrame(() => {
|
||||
for (const div of document.querySelectorAll("div")) {
|
||||
div.classList.toggle("no-marker");
|
||||
}
|
||||
takeScreenshot();
|
||||
});
|
||||
}, {once: true});
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue