diff options
Diffstat (limited to 'layout/reftests/first-letter/429968-1b.html')
-rw-r--r-- | layout/reftests/first-letter/429968-1b.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/429968-1b.html b/layout/reftests/first-letter/429968-1b.html new file mode 100644 index 000000000..dda8016e7 --- /dev/null +++ b/layout/reftests/first-letter/429968-1b.html @@ -0,0 +1,18 @@ +<!DOCTYPE HTML> +<html> +<head> +<style> +body { white-space:pre; color:blue; } +/* FIXME (Bug 1058203): avoid line-height:normal since it seems to have + different meaning on ::first-letter or span */ +#inner::first-letter { color:red; text-decoration:underline; + font-size:200%; line-height: 1.2; } +</style> +</head> +<body><div id="inner"><span> +</span>AB</div></body> +<script> +document.body.offsetTop; +document.body.style.color = "black"; +</script> +</html> |