mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 936827a6527f1c53051d3bc5bc79304c88c0737f
This commit is contained in:
parent
c585f4fff5
commit
02a68a38f0
338 changed files with 14862 additions and 2933 deletions
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Test Reference</title>
|
||||
<body style="margin:0">PASS</body>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Test: ::first-letter of html root element crash in combination with removal of body</title>
|
||||
<link rel="help" href="https://crbug.com/993764">
|
||||
<link rel="match" href="first-letter-of-html-root-crash-ref.html">
|
||||
<style id="sheet">
|
||||
html::first-letter { font-size: initial }
|
||||
</style>FAIL
|
||||
<script>
|
||||
const sel = window.getSelection();
|
||||
sel.selectAllChildren(document.documentElement);
|
||||
const range = sel.getRangeAt(0);
|
||||
document.body.remove();
|
||||
document.documentElement.appendChild(document.createTextNode("PASS"));
|
||||
document.documentElement.offsetTop;
|
||||
range.surroundContents(sheet);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue