summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/skip-ink-vertical-align-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-decoration/skip-ink-vertical-align-ref.html')
-rw-r--r--layout/reftests/text-decoration/skip-ink-vertical-align-ref.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/text-decoration/skip-ink-vertical-align-ref.html b/layout/reftests/text-decoration/skip-ink-vertical-align-ref.html
new file mode 100644
index 0000000000..ea4952ab29
--- /dev/null
+++ b/layout/reftests/text-decoration/skip-ink-vertical-align-ref.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <title>Reference case for text-decoration-skip-ink: skip-ink should detect and work with vertical-align</title>
+ <style>
+ div{
+ font: 48px/2 Times;
+ text-decoration: purple underline;
+ text-decoration-skip-ink: none;
+ }
+ span{
+ vertical-align: super;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Ink should not be skipped when vertical-align moves text away from the underline</p>
+ <div>test <span>pgqy</span> test</div>
+ </body>
+</html>