Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/block-flow-direction-014.xht

Issue 1161223002: Import csswg-test/css-writing-modes-3/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comments updated Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6
7 <title>CSS Writing Modes Test: inline-block and 'vertical-lr' - block flow dir ection of block-level boxes</title>
8
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" />
10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
11 <link rel="match" href="block-flow-direction-001-ref.xht" />
12
13 <meta content="ahem" name="flags" />
14 <meta content="This test checks that an inline-block with its 'writing-mode' s et to 'vertical-lr'
15 establishes a block formating context with a left-to-right block flow direction ." name="assert" />
16
17 <style type="text/css"><![CDATA[
18 body
19 {
20 color: yellow;
21 font: 1.25em/1 Ahem;
22 }
23
24 div#inline-block
25 {
26 background-color: blue;
27 border-top: blue solid 1em;
28 display: inline-block;
29 height: 8em;
30 vertical-align: top;
31 /*
32 Why 'vertical-align: top' ?
33 See
34 http://lists.w3.org/Archives/Public/public-css-testsuite/2014Dec/0013.html
35 for explanations
36 */
37 -webkit-writing-mode: vertical-lr;
38 }
39
40 span { display: block; }
41
42 span.left-border { border-left: blue solid 1em; }
43
44 span#right-border { border-right: blue solid 1em; }
45 ]]></style>
46 </head>
47
48 <body>
49
50 <div>
51
52 <div id="inline-block">
53
54 <!-- The 1st left-most line of "P" --> <span class="left-border">AAAAAAA</span >
55
56 <!-- The 2nd left-most line of "P" --> <span>B&nbsp; C&nbsp;&nbsp; </span>
57
58 <!-- The 3rd left-most line of "P" --> <span>D&nbsp; E&nbsp;&nbsp; </span>
59
60 <!-- The 4th left-most line of "P" --> <span>FFFF&nbsp;&nbsp; </span>
61
62
63
64 <!-- The left-most line of "A" --> <span class="left-border">GGGGGGG</span>
65
66 <!-- The 2nd left-most line of "A" --> <span>H&nbsp; J&nbsp;&nbsp; </span>
67
68 <!-- The 3rd left-most line of "A" --> <span>K&nbsp; L&nbsp;&nbsp; </span>
69
70 <!-- The 4th left-most line of "A" --> <span>MMMMMMM</span>
71
72
73
74 <!-- The 1st left-most line of left-most "S" --> <span class="left-border">NNN N&nbsp; Q</span>
75
76 <!-- The 2nd left-most line of left-most "S" --> <span>R&nbsp; S&nbsp; T</span >
77
78 <!-- The 3rd left-most line of left-most "S" --> <span>U&nbsp; V&nbsp; W</span >
79
80 <!-- The 4th left-most line of left-most "S" --> <span>X&nbsp; YYYY</span>
81
82
83
84 <!-- The left-most line of right-most "S" --> <span class="left-border">aaaa&n bsp; b</span>
85
86 <!-- The 2nd left-most line of right-most "S" --> <span>c&nbsp; d&nbsp; e</spa n>
87
88 <!-- The 3rd left-most line of right-most "S" --> <span>f&nbsp; g&nbsp; h</spa n>
89
90 <!-- The 4th left-most line of right-most "S" --> <span id="right-border">j&nb sp; kkkk</span>
91
92 </div>
93
94 </div>
95
96 </body>
97 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698