mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision 097043b336e46876e281ddec3bb014fe9c480128
This commit is contained in:
parent
ecd32570c0
commit
b68253eac0
405 changed files with 9164 additions and 3050 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Text Test: Chrome pre-line crash test</title>
|
||||
<link rel="help" href="https://crbug.com/989827">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
br { white-space: pre-line }
|
||||
</style>
|
||||
<script>
|
||||
test(() => {
|
||||
document.documentElement.remove();
|
||||
const br = document.createElement("br");
|
||||
br.appendChild(document.createTextNode(""));
|
||||
document.appendChild(br);
|
||||
br.offsetTop;
|
||||
br.firstChild.data = " ";
|
||||
}, "Modifying data of a text child of a root br element with pre-line should not crash.");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue