diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-box/margin-trim/flex-row-block-multiline.html')
-rw-r--r-- | testing/web-platform/tests/css/css-box/margin-trim/flex-row-block-multiline.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-box/margin-trim/flex-row-block-multiline.html b/testing/web-platform/tests/css/css-box/margin-trim/flex-row-block-multiline.html new file mode 100644 index 0000000000..c8fc788ca2 --- /dev/null +++ b/testing/web-platform/tests/css/css-box/margin-trim/flex-row-block-multiline.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html> +<head> +<title>margin-trim: flex-row-block-multiline</title> +<link rel="author" href="mailto:sammy.gill@apple.com"> +<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-flex"> +<link rel="match" href="flex-row-block-multiline-ref.html"> +<meta name="assert" content="block-start margins are trimmed for items on first flex line and block-end margins and trimmed for items on last flex line"> +<style> +flexbox { + display: flex; + width: 100px; + flex-wrap: wrap; + margin-trim: block; + border: 1px solid black; +} +item { + display: block; + background-color: green; + width: 50px; + height: 50px; + margin-block: 10px; +} +</style> +</head> +<body> +<flexbox> +<item></item> +<item></item> +<item></item> +<item></item> +</flexbox> +</body> +</html> |