diff options
Diffstat (limited to 'layout/reftests/text-shadow/overflow-decoration.html')
-rw-r--r-- | layout/reftests/text-shadow/overflow-decoration.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/text-shadow/overflow-decoration.html b/layout/reftests/text-shadow/overflow-decoration.html new file mode 100644 index 000000000..181a4f740 --- /dev/null +++ b/layout/reftests/text-shadow/overflow-decoration.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<head> +<style> + .outer { text-decoration: underline; } + .inner { + vertical-align: 1em; + text-shadow: 0 1em green; + } + .reftest-wait .inner { + text-shadow: 0 1em red; + } +</style> +</head> +<body> + <span class="outer"><span class="inner">x</span></span> + <script> + document.addEventListener("MozReftestInvalidate", () => { + document.documentElement.removeAttribute('class'); + }, false); + </script> +</body> +</html> |