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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/caption-side-vlr-007.xht

Issue 1292863003: update-w3c-deps import using blink e60a8575c2fa4bc64b804926b956b695a3ac158e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tkent review Created 5 years, 4 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: 'caption-side: block-start' and vertical-lr</ti tle>
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/#caption-side" title="7.7 Table Caption Mappings: the caption-side keywords" />
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 when 'caption-side' is set to 'block-star t' in a vertical-lr table, then the caption is placed at the block-start side of the table, which is on the lefthand side of such table." name="assert" />
15
16 <style type="text/css"><![CDATA[
17 table#test-overlapping-green
18 {
19 border-spacing: 0px;
20 caption-side: bottom; /* very important declaration to do here */
21 caption-side: block-start;
22 font: 3.125em/1 Ahem; /* computes to 50px/50px */
23 -webkit-writing-mode: vertical-lr;
24 }
25
26 caption
27 {
28 color: green;
29 }
30
31 td
32 {
33 color: transparent;
34 padding: 0px;
35 }
36
37 div#reference-overlapped-red
38 {
39 background: url("support/pattern-rg-rg-100x100.png") no-repeat;
40 bottom: 100px;
41 height: 100px;
42 position: relative;
43 width: 100px;
44 z-index: -1;
45 }
46 ]]></style>
47
48 </head>
49
50 <body>
51
52 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
53
54 <table id="test-overlapping-green">
55 <caption>CA</caption>
56 <tr>
57 <td>T</td><td>D</td>
58 </tr>
59 </table>
60
61 <div id="reference-overlapped-red"></div>
62
63 </body>
64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698