summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1175789-underline-overline-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1175789-underline-overline-1-ref.html')
-rw-r--r--layout/reftests/writing-mode/1175789-underline-overline-1-ref.html91
1 files changed, 91 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1175789-underline-overline-1-ref.html b/layout/reftests/writing-mode/1175789-underline-overline-1-ref.html
new file mode 100644
index 000000000..b788d6bae
--- /dev/null
+++ b/layout/reftests/writing-mode/1175789-underline-overline-1-ref.html
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Bug 1175789 - underline and overline in various language</title>
+ <style type="text/css">
+ body {
+ font-family: "Arial", "Helvetica", "sans-serif";
+ }
+ div {
+ padding: .5em 1em;
+ line-height: 2em;
+ }
+ .underline {
+ text-decoration: underline;
+ }
+ .overline {
+ text-decoration: overline;
+ }
+ </style>
+ </head>
+ <body>
+ <dl>
+ <dt>lang="en-US"</dt>
+ <dd lang="en-US">
+ <div style="writing-mode: vertical-rl;">
+ <span class="underline">underline</span><br>
+ <span class="overline">overline</span>
+ </div>
+ <div style="writing-mode: vertical-lr;">
+ <span class="underline">underline</span><br>
+ <span class="overline">overline</span>
+ </div>
+ </dd>
+ <dt>lang="ja"</dt>
+ <dd lang="en-US">
+ <div style="writing-mode: vertical-rl;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ <div style="writing-mode: vertical-lr;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ </dd>
+ <dt>lang="ko"</dt>
+ <dd lang="en-US">
+ <div style="writing-mode: vertical-rl;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ <div style="writing-mode: vertical-lr;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ </dd>
+ <dt>lang="ja-JP"</dt>
+ <dd lang="en-US">
+ <div style="writing-mode: vertical-rl;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ <div style="writing-mode: vertical-lr;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ </dd>
+ <dt>lang="ko-KR"</dt>
+ <dd lang="en-US">
+ <div style="writing-mode: vertical-rl;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ <div style="writing-mode: vertical-lr;">
+ <span class="overline">underline</span><br>
+ <span class="underline">overline</span>
+ </div>
+ </dd>
+ <dt>lang="zh"</dt>
+ <dd lang="en-US">
+ <div style="writing-mode: vertical-rl;">
+ <span class="underline">underline</span><br>
+ <span class="overline">overline</span>
+ </div>
+ <div style="writing-mode: vertical-lr;">
+ <span class="underline">underline</span><br>
+ <span class="overline">overline</span>
+ </div>
+ </dd>
+ </dl>
+ </body>
+</html>