diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/css-grid/grid-max-sizing-flex-008-ref.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-grid/grid-max-sizing-flex-008-ref.html')
-rw-r--r-- | layout/reftests/css-grid/grid-max-sizing-flex-008-ref.html | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/layout/reftests/css-grid/grid-max-sizing-flex-008-ref.html b/layout/reftests/css-grid/grid-max-sizing-flex-008-ref.html new file mode 100644 index 000000000..6deb8f3c8 --- /dev/null +++ b/layout/reftests/css-grid/grid-max-sizing-flex-008-ref.html @@ -0,0 +1,111 @@ +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ + --> +<!DOCTYPE html> +<html><head> + <meta charset="utf-8"> + <title>CSS Grid Test: Testing track flex max-sizing</title> + <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1309407"> + <style type="text/css"> +.grid { + display: grid; + border:1px dashed; + margin: 3px; +} +.rows { + float: left; + grid: minmax(10px, 0.5fr) minmax(10px, 2fr) / 50px; + grid-row-gap: 33px; +} +.rows-min { + float: left; + grid: 10px 10px / 50px; + grid-row-gap: 33px; +} +.cols { + display: inline-grid; + grid: 50px / minmax(10px, 0.5fr) minmax(10px, 2fr); + grid-column-gap: 33px; +} +.cols-min { + display: inline-grid; + grid: 50px / 10px 10px; + grid-column-gap: 33px; +} + +.item:nth-child(1) { background-color: purple; } +.item:nth-child(2) { background-color: blue; } + +.w70 { width: 70px; } +.w90 { width: 90px; } +.h70 { height: 70px; } +.h90 { height: 90px; } +</style> + +</head><body> + +<pre>First four are without min/max-sizes:</pre> +<div style="float:left"> +<div class="grid rows"> + <div class="item"></div> + <div class="item"></div> +</div> +</div> +<div style="height:100px; margin-bottom:-100px"> + <div class="grid rows"> + <div class="item"></div> + <div class="item"></div> + </div> +</div> +<div style="display:inline-block; width:73px; margin-right:-2px"> + <div class="grid cols"> + <div class="item"></div> + <div class="item"></div> + </div> +</div> +<div class="grid cols-min" style="width:53px"> + <div class="item"></div> + <div class="item"></div> +</div> + +<br clear="all"> + +<pre>Max-size less than grid-gap:</pre> +<div class="grid rows-min" style="height:0px"> + <div class="item"></div> + <div class="item"></div> +</div> +<div class="grid rows-min" style="max-height:0px"> + <div class="item"></div> + <div class="item"></div> +</div> +<div class="grid rows-min" style="height:20px"> + <div class="item"></div> + <div class="item"></div> +</div> +<div class="grid rows-min" style="max-height:20px"> + <div class="item"></div> + <div class="item"></div> +</div> +<div class="grid rows-min" style="height:33px"> + <div class="item"></div> + <div class="item"></div> +</div> + +<br clear="all" style="margin-top:40px; "> + +<div class="grid cols-min" style="width:20px; margin-right:30px;"> + <div class="item"></div> + <div class="item"></div> +</div> +<div class="grid cols-min" style="width:20px; margin-right:30px;"> + <div class="item"></div> + <div class="item"></div> +</div> +<div class="grid cols-min" style="width:33px; margin-right:30px;"> + <div class="item"></div> + <div class="item"></div> +</div> + +</body></html> |