diff options
Diffstat (limited to '')
-rw-r--r-- | layout/base/crashtests/866588.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/base/crashtests/866588.html b/layout/base/crashtests/866588.html new file mode 100644 index 0000000000..4e9abfdd52 --- /dev/null +++ b/layout/base/crashtests/866588.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="UTF-8"> +<style> + +body { white-space: pre-wrap; width: 1ch; font-family: monospace } +body:first-line { } + +</style> + +<script> + +function boom() +{ + document.body.textContent = "\n\u202AX "; + document.documentElement.offsetHeight; + document.body.appendChild(document.createTextNode("Y")); + document.documentElement.offsetHeight; +} + +</script> +</head> +<body onload="boom();"></body> +</html> |