diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/parsing/grid-auto-flow-valid.html')
-rw-r--r-- | testing/web-platform/tests/css/css-grid/parsing/grid-auto-flow-valid.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/parsing/grid-auto-flow-valid.html b/testing/web-platform/tests/css/css-grid/parsing/grid-auto-flow-valid.html new file mode 100644 index 0000000000..7db8b189a2 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/parsing/grid-auto-flow-valid.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Grid Layout Test: parsing grid-auto-flow with valid values</title> +<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org"> +<link rel="help" href="https://drafts.csswg.org/css-grid-1/#propdef-grid-auto-flow"> +<meta name="assert" content="grid-auto-flow supports the full grammar '[ row | column ] || dense'."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_valid_value("grid-auto-flow", "row"); +test_valid_value("grid-auto-flow", "column"); +test_valid_value("grid-auto-flow", "row dense", "dense"); +test_valid_value("grid-auto-flow", "dense row", "dense"); +test_valid_value("grid-auto-flow", "dense"); +test_valid_value("grid-auto-flow", "column dense"); +test_valid_value("grid-auto-flow", "dense column", "column dense"); +</script> +</body> +</html> |