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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/float-vlr-003.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: right' in a 'vertical-lr' block formati ng context (basic)</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 image" name="flags" />
14 <meta content="This test checks that a floated right box in a containing block with 'writing-mode' set to 'vertical-lr' will be floated at the line-right side of its line box." name="assert" />
15
16 <style type="text/css"><![CDATA[
17 div#wrapper
18 {
19 background: red url("support/pattern-gg-rg-100x100.png") no-repeat;
20 color: transparent;
21 font: 3.125em/1 Ahem; /* computes to 50px/50px */
22 height: 100px;
23 width: 100px;
24 -webkit-writing-mode: vertical-lr;
25 }
26
27 div#floated-right
28 {
29 color: green;
30 float: right;
31 }
32 ]]></style>
33 </head>
34
35 <body>
36
37 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
38
39 <div id="wrapper">
40 <div id="floated-right">R</div>A
41 </div>
42
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698