mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 28b5323e37274805b1d1416273e3a941c9c7e08e
This commit is contained in:
parent
615a127b99
commit
f7775a289e
439 changed files with 8598 additions and 14793 deletions
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<span style="color:green">This text should be green.</span>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Test: ::first-letter stops applying to element becoming inline.</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="match" href="first-letter-block-to-inline-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo">
|
||||
<style>
|
||||
#outer.block::first-letter { color: red }
|
||||
#outer.block { display: block }
|
||||
</style>
|
||||
<span id="outer" class="block">
|
||||
<span id="inner">This text should be green.</span>
|
||||
</span>
|
||||
<script>
|
||||
outer.offsetTop;
|
||||
outer.className = "";
|
||||
inner.style.color = "green";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue