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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vrl-002.xht

Issue 1554863002: Import csswg-test@091ec9158c45705b671df74ba064d1d57753c470 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 2
3 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
5 <head> 5 <head>
6 6
7 <title>CSS Writing Modes Test: contiguous left-floating boxes with 'writing-mo de' set to 'vertical-rl'</title> 7 <title>CSS Writing Modes Test: floated border-collapsing tables (vertical-rl)< /title>
8 8
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" /> 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" /> 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" /> 11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht" />
12 12
13 <meta content="ahem" name="flags" /> 13 <meta content="" name="flags" />
14 <meta content="This test checks the flow of contiguous left-floated boxes with 'writing-mode' set to 'vertical-rl'." name="assert" /> 14 <meta content="This test checks that contiguous floated border-collapsing tabl es in a 'vertical-rl' context do not overlap." name="assert" />
15 15
16 <style type="text/css"><![CDATA[ 16 <style type="text/css"><![CDATA[
17 table
18 {
19 border-collapse: collapse;
20 border-right: red solid 50px;
21 float: left;
22 height: 100px;
23 writing-mode: vertical-rl;
24 }
25
26 td
27 {
28 border-right: green solid 50px;
29 padding: 0px;
30 }
31
17 div#reference-overlapped-red 32 div#reference-overlapped-red
18 { 33 {
19 background-color: red; 34 background-color: red;
20 height: 100px; 35 height: 100px;
21 position: absolute; 36 position: relative;
22 width: 100px; 37 width: 100px;
23 z-index: -1; 38 z-index: -1;
24 } 39 }
40 ]]></style>
25 41
26 div.floated-left
27 {
28 color: green;
29 float: left;
30 font: 20px/1 Ahem; /* computes to 20px/20px */
31 writing-mode: vertical-rl;
32 }
33 ]]></style>
34 </head> 42 </head>
35 43
36 <body> 44 <body>
37 45
38 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p> 46 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
39 47
48 <table id="first">
49
50 <tbody>
51
52 <tr>
53 <td></td> <td></td>
54 </tr>
55
56 </tbody>
57
58 </table>
59
60
61 <table id="second">
62
63 <tbody>
64
65 <tr>
66 <td></td> <td></td>
67 </tr>
68
69 </tbody>
70
71 </table>
72
73
40 <div id="reference-overlapped-red"></div> 74 <div id="reference-overlapped-red"></div>
41 75
42 <div class="floated-left">abcde</div>
43
44 <div class="floated-left">fghjk</div>
45
46 <div class="floated-left">lmnor</div>
47
48 <div class="floated-left">rstuv</div>
49
50 <div class="floated-left">wxyzz</div>
51
52 </body> 76 </body>
53 </html> 77 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698