Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
[css-writing-modes-3] Add outline-inline-v(lr|rl)-006
Browse files Browse the repository at this point in the history
Borrowed basic ideas from outline-inline tests but turned to ref tests.
  • Loading branch information
kojiishi committed Nov 17, 2015
1 parent fd7dc45 commit bd5659b
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
18 changes: 18 additions & 0 deletions css-writing-modes-3/outline-inline-vlr-006.html
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>
24 changes: 24 additions & 0 deletions css-writing-modes-3/outline-inline-vrl-006.html
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>
24 changes: 24 additions & 0 deletions css-writing-modes-3/reference/outline-inline-vlr-006.html
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>
18 changes: 18 additions & 0 deletions css-writing-modes-3/reference/outline-inline-vrl-006.html
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>

0 comments on commit bd5659b

Please sign in to comment.