diff options
Diffstat (limited to '')
-rw-r--r-- | layout/generic/crashtests/564968.xhtml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/generic/crashtests/564968.xhtml b/layout/generic/crashtests/564968.xhtml new file mode 100644 index 0000000000..f3c3721029 --- /dev/null +++ b/layout/generic/crashtests/564968.xhtml @@ -0,0 +1,30 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<style> + .container { + height: 1em; + } + .overflow { + height: 8em; + } + body { + font-family: monospace; + height: 8em; + line-height: 1em; + column-count: 2; + column-gap: 0; + } +</style> +<script> + function boom() + { + document.documentElement.offsetHeight; + document.getElementById('x').style.display = 'none'; + document.documentElement.offsetHeight; + document.getElementById('y').style.display = 'none'; + } +</script> +</head> + +<body style="width: 17ch;" onload="boom();"><div id="x" class="container"></div>This paragraph must be in the first column.<div class="container" id="y"><div class="overflow"></div></div></body> +</html> |