summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/table-as-item-percent-width-cell-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/table-as-item-percent-width-cell-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/table-as-item-percent-width-cell-001-ref.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/table-as-item-percent-width-cell-001-ref.html b/testing/web-platform/tests/css/css-flexbox/table-as-item-percent-width-cell-001-ref.html
new file mode 100644
index 0000000000..2f40b6c49f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/table-as-item-percent-width-cell-001-ref.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Flexbox Reference: display:table flex items with percent-width cells and content keywords for used flex-basis</title>
+<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
+<style>
+ .container {
+ display: block;
+ width: 200px;
+ border: 1px solid black;
+ }
+ table { width: max-content; }
+ td {
+ background-color: cyan;
+ width: 100%;
+ border: 1px solid gray;
+ }
+
+</style>
+<body>
+ <div class="container">
+ <table><tr><td>1</td><td>2</td></tr></table>
+ </div>
+ <div class="container">
+ <table><tr><td>1</td><td>2</td></tr></table>
+ </div>
+ <div class="container">
+ <table><tr><td>1</td><td>2</td></tr></table>
+ </div>
+ <div class="container">
+ <table><tr><td>1</td><td>2</td></tr></table>
+ </div>
+</body>