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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vlr-007.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 borders. In this test, there should be an horizontal gap of 50px separating both tables. Margins between 2 floated boxes do not collapse. " name="assert" />
20
21 <style type="text/css"><![CDATA[
22 table
23 {
24 border-collapse: separate;
25 border-spacing: 0px;
26 float: left;
27 height: 100px;
28 writing-mode: vertical-lr;
29 }
30
31 td
32 {
33 padding: 0px;
34 }
35
36 table#left-first
37 {
38 border-right: green solid 25px;
39 margin-right: 25px;
40 }
41
42 table#right-second
43 {
44 border-left: green solid 25px;
45 margin-left: 25px;
46 }
47
48 div#reference-overlapped
49 {
50 background-color: red;
51 background-image: url("support/margin-collapse-2em-space-wm-vert.png");
52 background-repeat: no-repeat;
53 height: 100px;
54 position: relative;
55 width: 100px;
56 z-index: -1;
57 }
58 ]]></style>
59 </head>
60
61 <body>
62
63 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
64
65 <table id="left-first">
66
67 <tr><td></td><td></td><td></td><td></td></tr>
68
69 </table>
70
71 <table id="right-second">
72
73 <tr><td></td><td></td><td></td><td></td></tr>
74
75 </table>
76
77 <div id="reference-overlapped"></div>
78
79 </body>
80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698