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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/float-shrink-to-fit-vlr-009.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' and 'shrink-to-fit' logical width (heig ht: auto) in 'vertical-lr' context</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="ahem" name="flags" />
14 <meta content="This test checks that 'shrink-to-fit' applying on logical width must not reduce content but size to fit to its content. In this test, 'L' and ' R' glyphs must be rendered." name="assert" />
15
16 <style type="text/css"><![CDATA[
17 div#test-floated-left
18 {
19 color: green;
20 float: left;
21 font: 3.125em/1 Ahem; /* computes to 50px/50px */
22 height: auto;
23 -webkit-writing-mode: vertical-lr;
24 }
25
26 div.inner-green-border-bottom
27 {
28 border-bottom: green solid 1em;
29 }
30
31 div#reference-red-overlapped
32 {
33 background-color: red;
34 height: 100px;
35 position: relative;
36 width: 100px;
37 z-index: -1;
38 }
39 ]]></style>
40 </head>
41
42 <body>
43
44 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
45
46 <div id="test-floated-left">
47
48 <div class="inner-green-border-bottom">L</div>
49
50 <div class="inner-green-border-bottom">R</div>
51
52 </div>
53
54 <div id="reference-red-overlapped"></div>
55
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698