mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 2d42384cf21efd71843295d319c1bab85b3acf4a
This commit is contained in:
parent
f2b224d610
commit
e851ef0cd2
1014 changed files with 5653 additions and 1590 deletions
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Should not crash when inserting an element inside a :first-line pseudo.</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/">
|
||||
<style>
|
||||
p:first-line, p:first-letter {
|
||||
font-family: serif;
|
||||
}
|
||||
</style>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<p id=target>
|
||||
test<sup>sup</sup>
|
||||
</p>
|
||||
<script>
|
||||
test(()=>{
|
||||
const target = document.getElementById('target');
|
||||
target.insertBefore(document.createElement('img'), target.lastChild)
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue