summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/437565-2.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/generic/crashtests/437565-2.xhtml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/generic/crashtests/437565-2.xhtml')
-rw-r--r--layout/generic/crashtests/437565-2.xhtml24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/generic/crashtests/437565-2.xhtml b/layout/generic/crashtests/437565-2.xhtml
new file mode 100644
index 0000000000..9213a65df9
--- /dev/null
+++ b/layout/generic/crashtests/437565-2.xhtml
@@ -0,0 +1,24 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <style>
+ /* Note: The height here is almost nscoord_MAX in app-units */
+ /* Note: The width here needs to be wider than the viewport in order
+ to trigger a crash. */
+ div.tall {
+ height: 17895687px;
+ width: 3000px;
+ background: pink;
+ }
+ div.float { float: left; }
+ div.clear { clear: left; }
+ div.square { width: 10px; height: 10px; }
+ div.blue { background: blue; }
+ div.green { background: green; }
+ div.orange { background: orange; }
+ </style>
+</head>
+<!-- no body (adding a body prevents the crash, for some reason) -->
+ <div class="float"><div class="tall"/><div class="square blue"/></div>
+ <div class="float square green"/>
+ <div><div class="float square orange"/><div class="clear"/></div>
+</html>