Index: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-table-fixup-001a-expected.xhtml |
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-table-fixup-001a-expected.xhtml b/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-table-fixup-001a-expected.xhtml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7adbbb71851b92ee959bd6978b1784cbde072fa5 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-table-fixup-001a-expected.xhtml |
@@ -0,0 +1,55 @@ |
+<?xml version="1.0" encoding="UTF-8"?> |
+<!-- |
+ Any copyright is dedicated to the Public Domain. |
+ http://creativecommons.org/publicdomain/zero/1.0/ |
+ --> |
+<!-- Reference case for table-fixup on table parts inside of a |
+ flex container. --> |
+<html xmlns="http://www.w3.org/1999/xhtml"> |
+ <head> |
+ <title>CSS Reftest Reference</title> |
+ <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/> |
+ <style> |
+ div.flexbox { |
+ border: 1px dashed blue; |
+ } |
+ |
+ <!-- NOTE: table-fixup pads each td element by 1px on each side. We |
+ override that for top & bottom, for simplicity. So the td makes us |
+ generate a box that's 2px wider than its contents. --> |
+ td { |
+ padding-top: 0px; |
+ padding-bottom: 0px; |
+ } |
+ |
+ .a { |
+ background: lightgreen; |
+ width: 48px; |
+ } |
+ |
+ .b { |
+ background: yellow; |
+ width: 48px; |
+ } |
+ |
+ .c { |
+ background: pink; |
+ width: 48px; |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ <!-- Just 2 adjacent table cells (they end up in the same table) --> |
+ <div class="flexbox" style="padding-left: 50px; width: 150px" |
+ ><td class="a">cell1</td><td class="b">cell2</td></div> |
+ |
+ <!-- Table cell followed by tbody (they end up in the same table) --> |
+ <div class="flexbox" style="padding-left: 75px; width: 125px" |
+ ><td class="a">cell1</td><tbody class="b">t</tbody></div> |
+ |
+ <!-- Empty table cell (ends up occupying 2px of width), followed by div, |
+ followed by nonempty table cell. (3 flex items). --> |
+ <div class="flexbox" style="padding-left: 52px; width: 148px" |
+ ><div style="display: inline-block;" class="c">div</div><div style="display: inline-table; margin-left: 50px"><td class="b">cell1</td></div></div> |
+ </body> |
+</html> |