summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1175789-underline-overline-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/writing-mode/1175789-underline-overline-1.html91
1 files changed, 91 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1175789-underline-overline-1.html b/layout/reftests/writing-mode/1175789-underline-overline-1.html
new file mode 100644
index 0000000000..1044a9dca5
--- /dev/null
+++ b/layout/reftests/writing-mode/1175789-underline-overline-1.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="ja">
+ <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="ko"</dt>
+ <dd lang="ko">
+ <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-JP"</dt>
+ <dd lang="ja-JP">
+ <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="ko-KR"</dt>
+ <dd lang="ko-KR">
+ <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="zh"</dt>
+ <dd lang="zh">
+ <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>