diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-decoration-propagation-shadow.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text-decor/text-decoration-propagation-shadow.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text-decor/text-decoration-propagation-shadow.html b/testing/web-platform/tests/css/css-text-decor/text-decoration-propagation-shadow.html new file mode 100644 index 0000000000..ac365ee046 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-decoration-propagation-shadow.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<title>CSS Test: text-decoration propagation into shadow DOM boxes</title> +<link rel="help" href="https://drafts.csswg.org/css-text-decor/#line-decoration"> +<link rel="match" href="reference/text-decoration-underline-ref.html"> +<style> + #host { text-decoration: underline } +</style> +<p> + <div id="host"> + <span>This text should be underlined.</span> + </div> +</p> +<script> + const root = host.attachShadow({mode:"open"}); + root.appendChild(document.createElement("slot")); +</script> |