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