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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vlr-009.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
(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 <!--
8 Test inspired by
9 http://test.csswg.org/source/css-writing-modes-3/table-progression-vrl-004.htm l
10 -->
11
12 <title>CSS Writing Modes Test: vertical-lr - contiguous floated tables and hor izontal margins</title>
13
14 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" />
15 <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" />
16 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht" />
17
18 <meta content="image" name="flags" />
19 <meta content="This test checks that horizontal margins existing between conti guous floated tables with writing-mode set to 'vertical-lr' are not substracted by the amount of their horizontal padding. In this test, there should be an hori zontal gap of 50px separating both tables. Margins between 2 floated boxes do no t collapse." name="assert" />
20
21 <style type="text/css"><![CDATA[
22 table
23 {
24 background-color: green;
25 border-collapse: separate;
26 border-spacing: 0px;
27 float: left;
28 height: 100px;
29 writing-mode: vertical-lr;
30 }
31
32 td
33 {
34 padding: 0px;
35 }
36
37 table#left-first
38 {
39 padding-right: 25px;
40 margin-right: 25px;
41 }
42
43 table#right-second
44 {
45 padding-left: 25px;
46 margin-left: 25px;
47 }
48
49 div#reference-overlapped
50 {
51 background-color: red;
52 background-image: url("support/margin-collapse-2em-space-wm-vert.png");
53 background-repeat: no-repeat;
54 height: 100px;
55 position: relative;
56 width: 100px;
57 z-index: -1;
58 }
59 ]]></style>
60 </head>
61
62 <body>
63
64 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
65
66 <table id="left-first">
67
68 <tr><td></td><td></td><td></td><td></td></tr>
69
70 </table>
71
72 <table id="right-second">
73
74 <tr><td></td><td></td><td></td><td></td></tr>
75
76 </table>
77
78 <div id="reference-overlapped"></div>
79
80 </body>
81 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698