mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision e426a6933a05bf144eba06a1d4c47ba876a4e2d1
This commit is contained in:
parent
415b26e4f1
commit
5e5eccabf8
495 changed files with 14920 additions and 784 deletions
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Text Test: very long line with `overflow-wrap: break-word` should not crash</title>
|
||||
<link rel="help" href="https://crbug.com/961987">
|
||||
<link rel="author" title="Koji Ishii" href="kojii@chromium.org">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
body {
|
||||
overflow-wrap: break-word;
|
||||
width: 2147483648px;
|
||||
}
|
||||
div {
|
||||
/* Double the width in case CSS parser clamps the body width. */
|
||||
width: 200%;
|
||||
}
|
||||
span {
|
||||
border-left: 2147483648px solid;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div><span>x</span></div>
|
||||
<script>
|
||||
test(() => { document.body.offsetTop; });
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue