diff options
Diffstat (limited to 'layout/generic/crashtests/542136-1.html')
-rw-r--r-- | layout/generic/crashtests/542136-1.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/generic/crashtests/542136-1.html b/layout/generic/crashtests/542136-1.html new file mode 100644 index 0000000000..e9aa1d8e23 --- /dev/null +++ b/layout/generic/crashtests/542136-1.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> +<style> + +div:first-letter{} + +</style> +<script> + +function boom() +{ + document.execCommand("selectAll", false, null); + document.execCommand("decreasefontsize", false, null); +} + +</script> +</head> + +<body onload="boom();" style="font-size: 0;"><div contenteditable="true" style="column-width: 1px; white-space: pre-line;"> +<span>T</span>his is text</div></body> + +</html> |