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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/border-spacing-vrl-004.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: border-spacing - second value is specified and non-zero in 'vertical-rl' table</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/#dimension-map ping" title="7.2 Dimension Mapping" />
11 <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html #separated-borders" title="17.6.1 The separated borders model" />
12 <link rel="match" href="border-spacing-vrl-002-ref.xht" />
13
14 <meta content="ahem" name="flags" />
15 <meta content="This test checks that second value of 'border-spacing' represen ts, from right to left, a) spacing between logical table top padding (physical t able right padding) and topmost cells and b) inter-row spacing and c) between bo ttommost cells and logical table bottom padding (physical table left padding)." name="assert" />
16
17 <style type="text/css"><![CDATA[
18 table
19 {
20 border-spacing: 0em 0.5em; /* computes to logical vertical border-spacing: 10px */
21 font: 1.25em/1 Ahem; /* computes to 20px/20px */
22 padding: 0em 1.25em; /* computes to padding-left: 25px and padding-right: 25px */
23 -webkit-writing-mode: vertical-rl;
24 }
25
26 td
27 {
28 height: 1em;
29 padding: 0em;
30 width: 0.5em;
31 }
32
33 /*
34
35 0px 25px 35px 45px 55px 65px 75px 1 00px
36 | padding-left | left | 2nd | middle | 1st | right | padding-right|
37 | of table | vert. | right | vert. | right | vert. | of table |
38 | | border | most | border | most | border | |
39 | | spacing| row | spacing| row | spacing| |
40 20| | | | | | | |
41 px| | | | | | | |
42 | | | | | | | |
43 | | | | | | | |
44 | | | | | | | |
45 40| | | | | | | |
46 px| | | | | | | |
47 | | | | | | | |
48 | | | | | | | |
49 | | | | | | | |
50 60| | | | | | | |
51 px| | | | | | | |
52 | | | | | | | |
53 | | | | | | | |
54 | | | | | | | |
55 80| | | | | | | |
56 px| | | | | | | |
57 | | | | | | | |
58 | | | | | | | |
59 | | | | | | | |
60 00| | | | | | | |
61 px| | | | | | | |
62
63 */
64
65 div#reference-overlapping-green
66 {
67 background-color: green;
68 height: 6.25em;
69 position: absolute;
70 width: 6.25em;
71 }
72
73 div#reference-overlapped-red
74 {
75 background-color: red;
76 height: 6.25em;
77 position: absolute;
78 width: 6.25em;
79 z-index: -1;
80 }
81
82 table#test-overlapped-red
83 {
84 background-color: red;
85 }
86
87 table#test-overlapping-green
88 {
89 background-color: green;
90 }
91 ]]></style>
92 </head>
93
94 <body>
95
96 <p>Test passes if there is a filled green rectangle and <strong>no red</strong >.</p>
97
98 <div id="reference-overlapping-green"></div>
99
100 <table id="test-overlapped-red">
101
102 <tr><td></td><td></td><td></td><td></td><td></td></tr>
103
104 <tr><td></td><td></td><td></td><td></td><td></td></tr>
105
106 </table>
107
108 <div id="reference-overlapped-red"></div>
109
110 <table id="test-overlapping-green">
111
112 <tr><td></td><td></td><td></td><td></td><td></td></tr>
113
114 <tr><td></td><td></td><td></td><td></td><td></td></tr>
115
116 </table>
117
118 </body>
119 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698