diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-box/margin-trim/flex-inline-trimmed-only-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-box/margin-trim/flex-inline-trimmed-only-ref.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-box/margin-trim/flex-inline-trimmed-only-ref.html b/testing/web-platform/tests/css/css-box/margin-trim/flex-inline-trimmed-only-ref.html new file mode 100644 index 0000000000..e262b903df --- /dev/null +++ b/testing/web-platform/tests/css/css-box/margin-trim/flex-inline-trimmed-only-ref.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> +<head> +<title>margin-trim: flex-inline-trimmed-only</title> +<link rel="author" href="mailto:sammy.gill@apple.com"> +<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-flex"> +<meta name="assert" content="inline should trim only the inline margins of flex items"> +<style> +flexbox { + display: flex; + width: min-content; + border: 1px black solid; + gap: 20px; +} +item { + display: block; + background-color: green; + width: 50px; + height: 50px; + margin-block: 10px; +} +</style> +</head> +<body> +<flexbox> +<item></item> +<item></item> +<item></item> +</flexbox> +</body> +</html> |