diff options
author | Yuri Kobets <[email protected]> | 2024-01-31 03:48:44 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-31 03:48:44 +0300 |
commit | 6ca1ab0419e770e6d35a1ef690238773a1dafcee (patch) | |
tree | 16df635edd594dc1d1b9d0044993e2ae4d0e0200 /test/render/flex/-flex-minimum-width-flex-items-009.htm | |
parent | 8c320007878795fe629de7fe1eaef9328ac9c719 (diff) | |
parent | d85ebec101e77825e5708e58df0e2508ec4fd389 (diff) |
Flex layout
Diffstat (limited to 'test/render/flex/-flex-minimum-width-flex-items-009.htm')
-rw-r--r-- | test/render/flex/-flex-minimum-width-flex-items-009.htm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/render/flex/-flex-minimum-width-flex-items-009.htm b/test/render/flex/-flex-minimum-width-flex-items-009.htm new file mode 100644 index 00000000..4f2848ac --- /dev/null +++ b/test/render/flex/-flex-minimum-width-flex-items-009.htm @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html><head><title>CSS Flexible Box Test: Minimum width of flex items</title> +<link href="mailto:[email protected]" rel="author" title="David Grogan"> +<link href="mailto:[email protected]" rel="author" title="Manuel Rego Casasnovas"> +<link href="http://www.w3.org/TR/css-flexbox-1/#min-size-auto" rel="help" title="4.5. Implied Minimum Size of Flex Items"> +<link href="reference/ref-filled-green-100px-square.htm" rel="match"> +<meta content="Implied minimum main content suggestion accounts for minimum cross size when items have an aspect ratio." name="assert"> +<style type="text/css"> + #reference-overlapped-red { + position: absolute; + background-color: red; + width: 100px; + height: 100px; + z-index: -1; + } + + #constrained-flex { + display: flex; + width: 10px; + } + + #test-flex-item-overlapping-green { + min-height: 100px; + } +</style> +</head><body><p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + +<div id="reference-overlapped-red"></div> +<div id="constrained-flex"> + <img src="support/60x60-green.png" id="test-flex-item-overlapping-green"> +</div> +</body></html>
\ No newline at end of file |