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-track-intrinsic-sizing-001.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-track-intrinsic-sizing-001.html')
-rw-r--r-- | layout/reftests/css-grid/grid-track-intrinsic-sizing-001.html | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/layout/reftests/css-grid/grid-track-intrinsic-sizing-001.html b/layout/reftests/css-grid/grid-track-intrinsic-sizing-001.html new file mode 100644 index 000000000..061be012e --- /dev/null +++ b/layout/reftests/css-grid/grid-track-intrinsic-sizing-001.html @@ -0,0 +1,103 @@ +<!DOCTYPE HTML> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<html><head> + <meta charset="utf-8"> + <title>CSS Grid Test: Distribute space beyond growth limits</title> + <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1151212"> + <link rel="help" href="https://drafts.csswg.org/css-grid/#distribute-extra-space"> + <link rel="match" href="grid-track-intrinsic-sizing-001-ref.html"> + <style type="text/css"> +body,html { color:black; background:white; font-family:monospace; font-size:16px; padding:0; margin:0; } + +.grid { + display: grid; + border: 1px solid; + width: 500px; + justify-content: start; + align-content: start; +} +.t1 { + grid-template-columns: minmax(max-content,200px) minmax(max-content,200px); +} +.t2 { + grid-template-columns: minmax(0,auto) minmax(max-content,auto); +} + +.c1 { grid-column: span 2; border:2px solid; min-width:0; } +.c2 { background: grey; min-height:10px; min-width:0; } +.c3 { background: blue; min-width:0;} + </style> +</head> +<body> + +<div class="grid t1"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"> </div> +</div> +<div class="grid t1"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"></div> +</div> +<div class="grid t1"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"></div> + <div class="c3"></div> +</div> +<div class="grid t1"> + <span class="c1">1 2 3 4 5 6 7 8 9 0 1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"> </div> +</div> +<div class="grid t1"> + <span class="c1">1 2 3 4 5 6 7 8 9 0 1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"></div> +</div> +<div class="grid t1"> + <span class="c1">1 2 3 4 5 6 7 8 9 0 1 2 3 4 5</span> + <div class="c2"></div> + <div class="c3"></div> +</div> +<div class="grid t1"> + <span class="c1">1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4</span> + <div class="c2"> </div> + <div class="c3"> </div> +</div> +<div class="grid t2"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"> </div> +</div> +<div class="grid t2"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"></div> +</div> +<div class="grid t2"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"></div> + <div class="c3"> </div> +</div> +<div class="grid t2"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"></div> + <div class="c3"></div> +</div> +<div class="grid t2"> + <span class="c1">1 2 3 4 5 6 7 8 9 0 1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"> </div> +</div> +<div class="grid t2"> + <span class="c1">1 2 3 4 5</span> + <div class="c2"> </div> + <div class="c3"> </div> +</div> + +</body> +</html> |