From 632a3f59238036b6e24b28d47218ba9986ff4c62 Mon Sep 17 00:00:00 2001 From: "Zheng(Jeff) Xu" Date: Wed, 12 Sep 2018 13:13:10 -0700 Subject: [PATCH] Implement text-underline-position R=kojii@chromium.org Bug: 854091, 313888 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I3e1b37ab4e27a91ce30a004d4faf8ab98152f9ed Reviewed-on: https://chromium-review.googlesource.com/1187726 Reviewed-by: Koji Ishii Reviewed-by: Emil A Eklund Commit-Queue: Koji Ishii Commit-Queue: Emil A Eklund Cr-Commit-Position: refs/heads/master@{#590743} --- ...ion-underline-position-horizontal-ref.html | 18 ++++++++++++++++++ ...on-underline-position-vertical-ja-ref.html | 16 ++++++++++++++++ ...ation-underline-position-vertical-ref.html | 16 ++++++++++++++++ ...oration-underline-position-horizontal.html | 19 +++++++++++++++++++ ...ration-underline-position-vertical-ja.html | 18 ++++++++++++++++++ ...ecoration-underline-position-vertical.html | 18 ++++++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 css/css-text-decor/reference/text-decoration-underline-position-horizontal-ref.html create mode 100644 css/css-text-decor/reference/text-decoration-underline-position-vertical-ja-ref.html create mode 100644 css/css-text-decor/reference/text-decoration-underline-position-vertical-ref.html create mode 100644 css/css-text-decor/text-decoration-underline-position-horizontal.html create mode 100644 css/css-text-decor/text-decoration-underline-position-vertical-ja.html create mode 100644 css/css-text-decor/text-decoration-underline-position-vertical.html diff --git a/css/css-text-decor/reference/text-decoration-underline-position-horizontal-ref.html b/css/css-text-decor/reference/text-decoration-underline-position-horizontal-ref.html new file mode 100644 index 00000000000000..be9155bbcf82be --- /dev/null +++ b/css/css-text-decor/reference/text-decoration-underline-position-horizontal-ref.html @@ -0,0 +1,18 @@ + + + + + + + +
サンプル
+
サンプル
+
"text-underline-position: right" alone should be same as "auto right"
+
"text-underline-position: left" alone should be same as "auto left"
+ + + + diff --git a/css/css-text-decor/reference/text-decoration-underline-position-vertical-ja-ref.html b/css/css-text-decor/reference/text-decoration-underline-position-vertical-ja-ref.html new file mode 100644 index 00000000000000..303655abdd2489 --- /dev/null +++ b/css/css-text-decor/reference/text-decoration-underline-position-vertical-ja-ref.html @@ -0,0 +1,16 @@ + + + + + + + +
In vertical writing mode with lang=ja, default overline will be same as underline (lang=en). However, when we set text-underline-position to "under left" it should be shifted.
+
サンプル
+
サンプル
+ + diff --git a/css/css-text-decor/reference/text-decoration-underline-position-vertical-ref.html b/css/css-text-decor/reference/text-decoration-underline-position-vertical-ref.html new file mode 100644 index 00000000000000..8c0bee6720355c --- /dev/null +++ b/css/css-text-decor/reference/text-decoration-underline-position-vertical-ref.html @@ -0,0 +1,16 @@ + + + + + + + +
サンプル
+
サンプル
+ + + diff --git a/css/css-text-decor/text-decoration-underline-position-horizontal.html b/css/css-text-decor/text-decoration-underline-position-horizontal.html new file mode 100644 index 00000000000000..e4d495e722e434 --- /dev/null +++ b/css/css-text-decor/text-decoration-underline-position-horizontal.html @@ -0,0 +1,19 @@ + + + + + + + + + +
サンプル
+
サンプル
+
"text-underline-position: right" alone should be same as "auto right"
+
"text-underline-position: left" alone should be same as "auto left"
+ + + diff --git a/css/css-text-decor/text-decoration-underline-position-vertical-ja.html b/css/css-text-decor/text-decoration-underline-position-vertical-ja.html new file mode 100644 index 00000000000000..6f41e939b24ffd --- /dev/null +++ b/css/css-text-decor/text-decoration-underline-position-vertical-ja.html @@ -0,0 +1,18 @@ + + + + + + + + + +
In vertical writing mode with lang=ja, default overline will be same as underline (lang=en). However, when we set text-underline-position to "under left" it should be shifted.
+
サンプル
+
サンプル
+ + diff --git a/css/css-text-decor/text-decoration-underline-position-vertical.html b/css/css-text-decor/text-decoration-underline-position-vertical.html new file mode 100644 index 00000000000000..9f60bc116bab04 --- /dev/null +++ b/css/css-text-decor/text-decoration-underline-position-vertical.html @@ -0,0 +1,18 @@ + + + + + + + + + +
サンプル
+
サンプル
+ + +