summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/skip-ink-multiline-position.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/text-decoration/skip-ink-multiline-position.html
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/text-decoration/skip-ink-multiline-position.html')
-rw-r--r--layout/reftests/text-decoration/skip-ink-multiline-position.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/text-decoration/skip-ink-multiline-position.html b/layout/reftests/text-decoration/skip-ink-multiline-position.html
new file mode 100644
index 0000000000..ab7dcefa62
--- /dev/null
+++ b/layout/reftests/text-decoration/skip-ink-multiline-position.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Test case for text-decoration-skip-ink: text on the second line should not change the position of the first line's underline</title>
+ <style>
+ @font-face {
+ font-family: awami;
+ src: url("../fonts/AwamiNastaliq-Regular.woff");
+ }
+ div{
+ font: 36px/2 awami, sans-serif;
+ unicode-bidi:bidi-override;
+ width: 70px;
+ height: 70px;
+ overflow: hidden;
+ text-decoration: red underline;
+ text-underline-offset: -0.5em;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Adding more characters on the second line should not affect the position of the underline on line one. <br>See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1572302"> Bug 1572302</a> </p>
+ <div dir="rtl">fی علي</div>
+ </body>
+</html>