Index: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vlr-003.xht |
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/float-contiguous-vlr-011.xht b/third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vlr-003.xht |
similarity index 56% |
copy from third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/float-contiguous-vlr-011.xht |
copy to third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vlr-003.xht |
index f9b22d4182d862204438ea60c0e54ca3a1d380d3..b5424d245451e77683e01f29337b7311a2dcb14d 100644 |
--- a/third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/float-contiguous-vlr-011.xht |
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/contiguous-floated-table-vlr-003.xht |
@@ -4,50 +4,74 @@ |
<head> |
- <title>CSS Writing Modes Test: contiguous left-floating boxes with 'writing-mode' set to 'vertical-lr'</title> |
+ <title>CSS Writing Modes Test: floated border-collapsing tables (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="match" href="../css21/reference/ref-filled-green-100px-square.xht" /> |
- <meta content="ahem" name="flags" /> |
- <meta content="This test checks the flow of contiguous left-floated boxes with 'writing-mode' set to 'vertical-lr'." name="assert" /> |
+ <meta content="" name="flags" /> |
+ <meta content="This test checks that contiguous floated border-collapsing tables in a 'vertical-lr' context do not overlap." name="assert" /> |
<style type="text/css"><![CDATA[ |
+ table |
+ { |
+ border-left: red solid 50px; |
+ border-collapse: collapse; |
+ float: left; |
+ height: 100px; |
+ writing-mode: vertical-lr; |
+ } |
+ |
+ td |
+ { |
+ border-left: green solid 50px; |
+ padding: 0px; |
+ } |
+ |
div#reference-overlapped-red |
{ |
background-color: red; |
height: 100px; |
- position: absolute; |
+ position: relative; |
width: 100px; |
z-index: -1; |
} |
- |
- div.floated-left |
- { |
- color: green; |
- float: left; |
- font: 20px/1 Ahem; /* computes to 20px/20px */ |
- writing-mode: vertical-lr; |
- } |
]]></style> |
+ |
</head> |
<body> |
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> |
- <div id="reference-overlapped-red"></div> |
+ <table id="first"> |
+ |
+ <tbody> |
+ |
+ <tr> |
+ <td></td> <td></td> |
+ </tr> |
- <div class="floated-left">abcde</div> |
+ </tbody> |
- <div class="floated-left">fghjk</div> |
+ </table> |
- <div class="floated-left">lmnor</div> |
- <div class="floated-left">rstuv</div> |
+ <table id="second"> |
- <div class="floated-left">wxyzz</div> |
+ <tbody> |
+ |
+ <tr> |
+ <td></td> <td></td> |
+ </tr> |
+ |
+ </tbody> |
+ |
+ </table> |
+ |
+ |
+ <div id="reference-overlapped-red"></div> |
</body> |
-</html> |
+</html> |