diff options
Diffstat (limited to 'layout/generic/crashtests/437565-2.xhtml')
-rw-r--r-- | layout/generic/crashtests/437565-2.xhtml | 24 |
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> |