summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/skip-ink-cjk-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-decoration/skip-ink-cjk-1-ref.html')
-rw-r--r--layout/reftests/text-decoration/skip-ink-cjk-1-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/text-decoration/skip-ink-cjk-1-ref.html b/layout/reftests/text-decoration/skip-ink-cjk-1-ref.html
new file mode 100644
index 0000000000..fd0a816f01
--- /dev/null
+++ b/layout/reftests/text-decoration/skip-ink-cjk-1-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="ja">
+<meta charset="utf-8">
+<style>
+body {
+ font: 16px/2 sans-serif;
+}
+.test {
+ font: 32px sans-serif;
+ text-decoration: 2px red underline;
+ text-underline-offset: 1px;
+}
+span {
+ text-decoration-skip-ink: none;
+}
+</style>
+<div>The underline should skip descenders on the English but not the Japanese:</div>
+<div class=test>skipping <span>土砂災害警戒情報</span> skipping</div>