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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/block-flow-direction-016.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-left: blue solid 1em;
28 border-top: blue solid 1em;
29 display: inline-block;
30 height: 8em;
31 vertical-align: top;
32 /*
33 Why 'vertical-align: top' ?
34 See
35 http://lists.w3.org/Archives/Public/public-css-testsuite/2014Dec/0013.html
36 for explanations
37 */
38 -webkit-writing-mode: vertical-lr;
39 }
40
41 span { display: block; }
42
43 span#right-border { border-right: blue solid 1em; }
44 ]]></style>
45 </head>
46
47 <body>
48
49 <div>
50
51 <div class="inline-block">
52
53 <!-- The 1st left-most line of "P" --> <span>AAAAAAA</span>
54
55 <!-- The 2nd left-most line of "P" --> <span>B&nbsp; C&nbsp;&nbsp; </span>
56
57 <!-- The 3rd left-most line of "P" --> <span>D&nbsp; E&nbsp;&nbsp; </span>
58
59 <!-- The 4th left-most line of "P" --> <span>FFFF&nbsp;&nbsp; </span>
60
61 </div><div class="inline-block">
62
63 <!-- The left-most line of "A" --> <span>GGGGGGG</span>
64
65 <!-- The 2nd left-most line of "A" --> <span>H&nbsp; J&nbsp;&nbsp; </span>
66
67 <!-- The 3rd left-most line of "A" --> <span>K&nbsp; L&nbsp;&nbsp; </span>
68
69 <!-- The 4th left-most line of "A" --> <span>MMMMMMM</span>
70
71 </div><div class="inline-block">
72
73 <!-- The 1st left-most line of left-most "S" --> <span>NNNN&nbsp; Q</span>
74
75 <!-- The 2nd left-most line of left-most "S" --> <span>R&nbsp; S&nbsp; T</span >
76
77 <!-- The 3rd left-most line of left-most "S" --> <span>U&nbsp; V&nbsp; W</span >
78
79 <!-- The 4th left-most line of left-most "S" --> <span>X&nbsp; YYYY</span>
80
81 </div><div class="inline-block">
82
83 <!-- The left-most line of right-most "S" --> <span>aaaa&nbsp; b</span>
84
85 <!-- The 2nd left-most line of right-most "S" --> <span>c&nbsp; d&nbsp; e</spa n>
86
87 <!-- The 3rd left-most line of right-most "S" --> <span>f&nbsp; g&nbsp; h</spa n>
88
89 <!-- The 4th left-most line of right-most "S" --> <span id="right-border">j&nb sp; kkkk</span>
90
91 </div>
92
93 </div>
94
95 </body>
96 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698