-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[email protected] 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 <[email protected]> Reviewed-by: Emil A Eklund <[email protected]> Commit-Queue: Koji Ishii <[email protected]> Commit-Queue: Emil A Eklund <[email protected]> Cr-Commit-Position: refs/heads/master@{#590743}
- Loading branch information
1 parent
a5ecf95
commit 632a3f5
Showing
6 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
css/css-text-decor/reference/text-decoration-underline-position-horizontal-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<style> | ||
.underline { text-decoration: underline; } | ||
.overline { text-decoration: overline; } | ||
</style> | ||
</head> | ||
<body lang="en"> | ||
<div class="overline">サンプル</div> | ||
<div class="overline">サンプル</div> | ||
<div class="underline">"text-underline-position: right" alone should be same as "auto right"</div> | ||
<div class="underline">"text-underline-position: left" alone should be same as "auto left"</div> | ||
</body> | ||
</html> | ||
|
||
|
16 changes: 16 additions & 0 deletions
16
css/css-text-decor/reference/text-decoration-underline-position-vertical-ja-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<style> | ||
body { writing-mode: vertical-rl; } | ||
.underline { text-decoration: underline; } | ||
.overline { text-decoration: overline; } | ||
</style> | ||
</head> | ||
<body lang="en"> | ||
<div>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.</div> | ||
<div class="underline">サンプル</div> | ||
<div class="underline">サンプル</div> | ||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
css/css-text-decor/reference/text-decoration-underline-position-vertical-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<style> | ||
body { writing-mode: vertical-rl; } | ||
.underline { text-decoration: underline; } | ||
.overline { text-decoration: overline; } | ||
</style> | ||
</head> | ||
<body lang="en"> | ||
<div class="underline">サンプル</div> | ||
<div class="underline">サンプル</div> | ||
</body> | ||
</html> | ||
|
19 changes: 19 additions & 0 deletions
19
css/css-text-decor/text-decoration-underline-position-horizontal.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-underline-position-property"> | ||
<link rel="match" href="reference/text-decoration-underline-position-horizontal-ref.html"> | ||
<style> | ||
.underline { text-decoration: underline; } | ||
.overline { text-decoration: overline; } | ||
</style> | ||
</head> | ||
<body lang="en"> | ||
<div class="overline" style="text-underline-position: under right">サンプル</div> | ||
<div class="overline" style="text-underline-position: under left">サンプル</div> | ||
<div class="underline" style="text-underline-position: right">"text-underline-position: right" alone should be same as "auto right"</div> | ||
<div class="underline" style="text-underline-position: left">"text-underline-position: left" alone should be same as "auto left"</div> | ||
</body> | ||
</html> | ||
|
18 changes: 18 additions & 0 deletions
18
css/css-text-decor/text-decoration-underline-position-vertical-ja.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-underline-position-property"> | ||
<link rel="match" href="reference/text-decoration-underline-position-vertical-ja-ref.html"> | ||
<style> | ||
body { writing-mode: vertical-rl; } | ||
.underline { text-decoration: underline; } | ||
.overline { text-decoration: overline; } | ||
</style> | ||
</head> | ||
<body lang="ja"> | ||
<div>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.</div> | ||
<div class="underline" style="text-underline-position: under left">サンプル</div> | ||
<div class="overline">サンプル</div> | ||
</body> | ||
</html> |
18 changes: 18 additions & 0 deletions
18
css/css-text-decor/text-decoration-underline-position-vertical.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-underline-position-property"> | ||
<link rel="match" href="reference/text-decoration-underline-position-vertical-ref.html"> | ||
<style> | ||
body { writing-mode: vertical-rl; } | ||
.underline { text-decoration: underline; } | ||
.overline { text-decoration: overline; } | ||
</style> | ||
</head> | ||
<body lang="en"> | ||
<div class="overline" style="text-underline-position: right">サンプル</div> | ||
<div class="underline" style="text-underline-position: left">サンプル</div> | ||
</body> | ||
</html> | ||
|