mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision ff6212c69e2519a94fd62d6f1e06dd0dac6152d3
This commit is contained in:
parent
da168de296
commit
81889f5cfd
26 changed files with 127 additions and 250 deletions
|
@ -1,2 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<p style="color: blue">Blue <span style="color: green">This text should be green.</span> Blue</p>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
|
||||
<link rel="match" href="first-line-change-inline-color-nested-ref.html">
|
||||
<style>
|
||||
#block { color: green; }
|
||||
#block::first-line { color: blue; }
|
||||
.green { color: green; }
|
||||
</style>
|
||||
<div id="block">
|
||||
<div>
|
||||
<p>Blue <span id="target"><span>This text should be green.</span></span> Blue</p>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
target.className = 'green';
|
||||
document.documentElement.removeAttribute('class');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</html>
|
|
@ -1,2 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<p style="color: blue">Blue <span style="color: green">This text should be green.</span> Blue</p>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
|
||||
<link rel="match" href="first-line-change-inline-color-ref.html">
|
||||
<style>
|
||||
#block { color: green; }
|
||||
#block::first-line { color: blue; }
|
||||
.green { color: green; }
|
||||
</style>
|
||||
<div id="block">
|
||||
<div>
|
||||
<p>Blue <span id="target">This text should be green.</span> Blue</p>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
target.className = 'green';
|
||||
document.documentElement.removeAttribute('class');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</html>
|
|
@ -1,5 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<div>
|
||||
<span style="color: green">This text should be green.</span><br>
|
||||
<span style="color: blue">This text should be blue.</span>
|
||||
</div>
|
|
@ -1,16 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
|
||||
<link rel="match" href="first-line-on-ancestor-block-ref.html">
|
||||
<style>
|
||||
#block::first-line { color: green; }
|
||||
</style>
|
||||
<div id="block">
|
||||
<div>
|
||||
<div style="color: blue">
|
||||
<div>
|
||||
<span><span>This text should be green.</span></span><br>
|
||||
This text should be blue.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,5 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<div>
|
||||
<span style="color: green">This text should be green.</span><br>
|
||||
<span style="color: blue">This text should be blue.</span>
|
||||
</div>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
|
||||
<link rel="match" href="first-line-with-out-of-flow-ref.html">
|
||||
<style>
|
||||
#block::first-line { color: green; }
|
||||
</style>
|
||||
<div id="block">
|
||||
<div style="position: absolute"><br></div>
|
||||
<div style="float: right"><br></div>
|
||||
<div>
|
||||
<div style="position: absolute"><br></div>
|
||||
<div style="float: right"><br></div>
|
||||
<div style="color: blue">
|
||||
<div>
|
||||
<span><span>This text should be green.</span></span><br>
|
||||
This text should be blue.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue