1
0
Fork 0
firefox/testing/web-platform/tests/css/css-text/text-indent/text-indent-long-line-crash.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

19 lines
559 B
HTML

<!DOCTYPE html>
<title>Very long line with `text-indent` should not crash</title>
<link rel="help" href="https://crbug.com/963794">
<link rel="author" title="Koji Ishii" href="kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
body {
width: 2147483648px;
}
div {
text-indent: 2147483648px;
width: 200%; /* Double the width in case CSS parser clamps the body width */
}
</style>
<body>
<div>XXX</div>
<script>test(() => { document.body.offsetTop; });</script>
</body>