mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -0,0 +1,14 @@
|
|||
<!doctype html>
|
||||
<title>CSS Pseudo Test: Query ::first-line computed style before outer block ::first-line matches</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
|
||||
<link rel="match" href="first-line-green-ref.html">
|
||||
<style>
|
||||
#outer::first-line { color: green }
|
||||
</style>
|
||||
<div id="outer">
|
||||
<div id="inner"></div>
|
||||
</div>
|
||||
<script>
|
||||
getComputedStyle(inner, "::first-line").color;
|
||||
inner.appendChild(document.createTextNode("This text should be green."));
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue