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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/different-block-flow-dir-002.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: descendant inline with a different 'writing-mod e' value</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="../css21/reference/ref-filled-green-100px-square.xht" />
12
13 <meta content="" name="flags" />
14 <meta content="This test checks that if an inline box has a different block fl ow direction than its containing block then its display computes to 'inline-bloc k' in which case its specified width and specified height are not ignored and ha ve to be rendered." name="assert" />
15
16 <style type="text/css"><![CDATA[
17 span#outer
18 {
19 vertical-align: top;
20 -webkit-writing-mode: vertical-rl;
21 }
22
23 span#inner
24 {
25 background-color: green;
26 color: green;
27 height: 6.25em;
28 vertical-align: top;
29 width: 6.25em;
30 -webkit-writing-mode: horizontal-tb;
31 }
32
33 div#reference-overlapped-red
34 {
35 background-color: red;
36 bottom: 6.25em;
37 height: 6.25em;
38 position: relative;
39 width: 6.25em;
40 z-index: -1;
41 }
42 ]]></style>
43 </head>
44
45 <body>
46
47 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
48
49 <div id="test-overlapping-green">
50 <span id="outer"><span id="inner">I</span></span>
51 </div>
52
53 <div id="reference-overlapped-red"></div>
54
55 </body>
56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698