This repository has been archived by the owner on Dec 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-writing-modes-3] Add outline-inline-v(lr|rl)-006
Borrowed basic ideas from outline-inline tests but turned to ref tests.
- Loading branch information
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
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> | ||
<title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-lr writing-mode</title> | ||
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" /> | ||
<meta content="ahem" name="flags" /> | ||
<style> | ||
div { | ||
color:transparent; | ||
font:50px/1 Ahem; | ||
width:2em; | ||
height:5em; | ||
} | ||
.outline { | ||
color:orange; | ||
outline:blue solid 2px; | ||
} | ||
</style> | ||
<p>Test passes if inside of blue rectangles are orange. | ||
<div>1<span class="outline">2</span> 34 56 78 <span class="outline">9</span>0</div> |
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,24 @@ | ||
<!DOCTYPE html> | ||
<title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-rl writing-mode</title> | ||
<link rel="match" href="reference/outline-inline-vrl-006.xht" /> | ||
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" /> | ||
<link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" /> | ||
<link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" /> | ||
<meta content="ahem" name="flags" /> | ||
<style> | ||
div { | ||
color:transparent; | ||
font:50px/1 Ahem; | ||
width:2em; | ||
height:5em; | ||
} | ||
.vrl { | ||
writing-mode:vertical-rl; | ||
} | ||
.outline { | ||
color:orange; | ||
outline:blue solid 2px; | ||
} | ||
</style> | ||
<p>Test passes if inside of blue rectangles are orange. | ||
<div class="vrl">1234<span class="outline">5 6</span>7890</div> |
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,24 @@ | ||
<!DOCTYPE html> | ||
<title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-lr writing-mode</title> | ||
<link rel="match" href="reference/outline-inline-vlr-006.xht" /> | ||
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" /> | ||
<link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" /> | ||
<link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" /> | ||
<meta content="ahem" name="flags" /> | ||
<style> | ||
div { | ||
color:transparent; | ||
font:50px/1 Ahem; | ||
width:2em; | ||
height:5em; | ||
} | ||
.vlr { | ||
writing-mode:vertical-lr; | ||
} | ||
.outline { | ||
color:orange; | ||
outline:blue solid 2px; | ||
} | ||
</style> | ||
<p>Test passes if inside of blue rectangles are orange. | ||
<div class="vlr">1234<span class="outline">5 6</span>7890</div> |
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> | ||
<title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-rl writing-mode</title> | ||
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" /> | ||
<meta content="ahem" name="flags" /> | ||
<style> | ||
div { | ||
color:transparent; | ||
font:50px/1 Ahem; | ||
width:2em; | ||
height:5em; | ||
} | ||
.outline { | ||
color:orange; | ||
outline:blue solid 2px; | ||
} | ||
</style> | ||
<p>Test passes if inside of blue rectangles are orange. | ||
<div><span class="outline">1</span>2 34 56 78 9<span class="outline">0</span></div> |