diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/min-size-auto-overflow-clip.html')
-rw-r--r-- | testing/web-platform/tests/css/css-flexbox/min-size-auto-overflow-clip.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/min-size-auto-overflow-clip.html b/testing/web-platform/tests/css/css-flexbox/min-size-auto-overflow-clip.html new file mode 100644 index 0000000000..ec3bc5f593 --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/min-size-auto-overflow-clip.html @@ -0,0 +1,18 @@ +<!doctype html> +<meta charset="utf-8"> +<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> +<link rel="help" href="https://drafts.csswg.org/css-flexbox/#min-size-auto"> +<link rel="match" href="min-size-auto-overflow-clip-ref.html"> +<title>overflow: visible and clip behave the same for min-size purposes</title> +<style> + .flex { + display: flex; + width: 100px; + border: 1px solid; + } +</style> +<div class="flex"> + <div style="overflow: clip"> + <div style="background: green; width: 150px; height: 50px;"></div> + </div> +</div> |