diff options
Diffstat (limited to 'layout/style/crashtests/1402218-1.html')
-rw-r--r-- | layout/style/crashtests/1402218-1.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/style/crashtests/1402218-1.html b/layout/style/crashtests/1402218-1.html new file mode 100644 index 0000000000..597c1c4d5e --- /dev/null +++ b/layout/style/crashtests/1402218-1.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<style> +#wrapper::first-line {} +</style> +<body> +<div id="wrapper"> + <div id="test"></div> +</div> +<script> + document.querySelector('#test').style.position = 'absolute'; + document.body.offsetHeight; + document.querySelector('#wrapper').style.color = 'green'; + document.querySelector('#test').style.position = ''; +</script> +</body> |