| Index: LayoutTests/imported/csswg-test/css-writing-modes-3/caption-side-vlr-009.xht
|
| diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/float-vlr-011.xht b/LayoutTests/imported/csswg-test/css-writing-modes-3/caption-side-vlr-009.xht
|
| similarity index 50%
|
| copy from LayoutTests/imported/csswg-test/css-writing-modes-3/float-vlr-011.xht
|
| copy to LayoutTests/imported/csswg-test/css-writing-modes-3/caption-side-vlr-009.xht
|
| index 2a53c4daaed73c68d9205a3b5abe0f584ed2db10..9e143f0eb9050ae3db9e31efdafb2c86f6f2e331 100644
|
| --- a/LayoutTests/imported/csswg-test/css-writing-modes-3/float-vlr-011.xht
|
| +++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/caption-side-vlr-009.xht
|
| @@ -4,47 +4,59 @@
|
|
|
| <head>
|
|
|
| - <title>CSS Writing Modes Test: 'float: left' and 'float: right' in a 'vertical-lr' block formating context (basic)</title>
|
| + <title>CSS Writing Modes Test: 'caption-side: block-end' and vertical-lr</title>
|
|
|
| <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
| - <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
|
| + <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" />
|
| <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht" />
|
|
|
| <meta content="ahem image" name="flags" />
|
| - <meta content="This test checks that a floated left box and a floated right box in a containing block with 'writing-mode' set to 'vertical-lr' will be respectively floated at the line-left side of its line box and floated at line-right of its line box." name="assert" />
|
| + <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" />
|
|
|
| <style type="text/css"><![CDATA[
|
| - div#wrapper
|
| + div#reference-overlapped-red
|
| {
|
| - background: red url("support/pattern-gr-rg-100x100.png") no-repeat;
|
| - color: transparent;
|
| - font: 3.125em/1 Ahem; /* computes to 50px/50px */
|
| + background: url("support/pattern-gr-gr-100x100.png") no-repeat;
|
| height: 100px;
|
| + position: absolute;
|
| width: 100px;
|
| + z-index: -1;
|
| + }
|
| +
|
| + table#test-overlapping-green
|
| + {
|
| + border-spacing: 0px;
|
| + caption-side: block-end;
|
| + font: 3.125em/1 Ahem; /* computes to 50px/50px */
|
| -webkit-writing-mode: vertical-lr;
|
| }
|
|
|
| - div#floated-right
|
| + caption
|
| {
|
| color: green;
|
| - float: right;
|
| }
|
|
|
| - div#floated-left
|
| + td
|
| {
|
| - color: green;
|
| - float: left;
|
| + color: transparent;
|
| + padding: 0px;
|
| }
|
| ]]></style>
|
| +
|
| </head>
|
|
|
| <body>
|
|
|
| <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
|
| - <div id="wrapper">
|
| - <div id="floated-right">R</div>A B <div id="floated-left">L</div>
|
| - </div>
|
| + <div id="reference-overlapped-red"></div>
|
| +
|
| + <table id="test-overlapping-green">
|
| + <caption>CA</caption>
|
| + <tr>
|
| + <td>T</td><td>D</td>
|
| + </tr>
|
| + </table>
|
|
|
| </body>
|
| </html>
|
|
|