summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html')
-rw-r--r--testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html b/testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html
new file mode 100644
index 0000000000..1ed03d2aad
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text-decor/text-decoration-subelements-005.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<title>Test case for text-decoration with subelements</title>
+<meta name="assert" content="Test decorations propagate to block-in-inline, as in the EXAMPLE 1 of the spec">
+<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-underline-position-property">
+<link rel="match" href="reference/text-decoration-subelements-005-ref.html">
+<style>
+div {
+ text-decoration: underline;
+}
+span {
+ display: block;
+}
+</style>
+<div>
+ From EXAMPLE 1 of the spec.
+ <span>
+ This text is also underlined,
+ as it is in an in-flow block to which the underline is propagated.
+ </span>
+</div>