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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/float-clear-vrl-006.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: 'float: left' and 'clear: left' in 'vertical-rl ' block formating context (intermediate)</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/#vertical-layo ut" title="7.1 Principles of Layout in Vertical Writing Modes" />
11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht" />
12
13 <meta content="image" name="flags" />
14 <meta content="This test checks that a block container box which has floats wi ll not extend its logical height (it will appear to not be aware of its floats) unless it has a clearing block. This test is important for CSS columnar layout p age based on floats." name="assert" />
15
16 <style type="text/css"><![CDATA[
17 div#wrapper
18 {
19 background: red url("support/pattern-rg-rg-100x100.png");
20 font-size: 3.125em; /* computes to 50px */
21 height: 2em; /* computes to 100px */
22 width: 2em; /* computes to 100px */
23 -webkit-writing-mode: vertical-rl;
24 }
25
26 div#container
27 {
28 border-left: green solid 1em;
29 width: auto; /* Very important: we want div#container to be able to shrink -wrap */
30 }
31
32 div.floated-left
33 {
34 float: left;
35 height: 50%; /* computes to 50px */
36 width: 1em; /* computes to 50px */
37 }
38
39 div#clearing
40 {
41 clear: left;
42 }
43 ]]></style>
44 </head>
45
46 <body>
47
48 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
49
50 <div id="wrapper">
51 <div id="container">
52 <div class="floated-left"></div>
53 <div class="floated-left"></div>
54 <div id="clearing"></div>
55 </div>
56 </div>
57
58 </body>
59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698