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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/caption-side-vlr-009.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
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: 'float: left' and 'float: right' in a 'vertical -lr' block formating context (basic)</title> 7 <title>CSS Writing Modes Test: 'caption-side: block-end' and vertical-lr</titl e>
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/#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" /> 11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht" />
12 12
13 <meta content="ahem image" name="flags" /> 13 <meta content="ahem image" name="flags" />
14 <meta content="This test checks that a floated left box and a floated right bo x in a containing block with 'writing-mode' set to 'vertical-lr' will be respect ively floated at the line-left side of its line box and floated at line-right of its line box." name="assert" /> 14 <meta content="This test checks that when 'caption-side' is set to 'block-end' in a vertical-lr table, then the caption is placed at the block-end side of the table, which is on the righthand side of such table." name="assert" />
15 15
16 <style type="text/css"><![CDATA[ 16 <style type="text/css"><![CDATA[
17 div#wrapper 17 div#reference-overlapped-red
18 { 18 {
19 background: red url("support/pattern-gr-rg-100x100.png") no-repeat; 19 background: url("support/pattern-gr-gr-100x100.png") no-repeat;
20 color: transparent; 20 height: 100px;
21 position: absolute;
22 width: 100px;
23 z-index: -1;
24 }
25
26 table#test-overlapping-green
27 {
28 border-spacing: 0px;
29 caption-side: block-end;
21 font: 3.125em/1 Ahem; /* computes to 50px/50px */ 30 font: 3.125em/1 Ahem; /* computes to 50px/50px */
22 height: 100px;
23 width: 100px;
24 -webkit-writing-mode: vertical-lr; 31 -webkit-writing-mode: vertical-lr;
25 } 32 }
26 33
27 div#floated-right 34 caption
28 { 35 {
29 color: green; 36 color: green;
30 float: right;
31 } 37 }
32 38
33 div#floated-left 39 td
34 { 40 {
35 color: green; 41 color: transparent;
36 float: left; 42 padding: 0px;
37 } 43 }
38 ]]></style> 44 ]]></style>
45
39 </head> 46 </head>
40 47
41 <body> 48 <body>
42 49
43 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p> 50 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
44 51
45 <div id="wrapper"> 52 <div id="reference-overlapped-red"></div>
46 <div id="floated-right">R</div>A B <div id="floated-left">L</div> 53
47 </div> 54 <table id="test-overlapping-green">
55 <caption>CA</caption>
56 <tr>
57 <td>T</td><td>D</td>
58 </tr>
59 </table>
48 60
49 </body> 61 </body>
50 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698