diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/fixed-table-layout-with-percentage-width-in-flex-item-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-flexbox/fixed-table-layout-with-percentage-width-in-flex-item-ref.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/fixed-table-layout-with-percentage-width-in-flex-item-ref.html b/testing/web-platform/tests/css/css-flexbox/fixed-table-layout-with-percentage-width-in-flex-item-ref.html new file mode 100644 index 0000000000..8e3e616717 --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/fixed-table-layout-with-percentage-width-in-flex-item-ref.html @@ -0,0 +1,64 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Flexbox Reference: Test flex items containing table-layout:fixed with percentage width</title> + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="https://www.mozilla.org"> + + <style> + .container { + display: flex; + width: 300px; + margin-bottom: 5px; + border: 1px solid black; + background: red; + } + .tbl { + width: 100%; + height: 30px; + border: 1px solid blue; + box-sizing: border-box; + background: lightgray; + } + </style> + + <div class="container"> + <div class="tbl"></div> + </div> + + <div class="container"> + <div class="tbl"></div> + <div class="tbl"></div> + </div> + + <div class="container"> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + </div> + + <div class="container"> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + </div> + + <div class="container"> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + </div> + + <div class="container"> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + <div class="tbl"></div> + </div> +</html> |