Automatic update from web-platform-tests [grid-lanes] Make tests not depend on inline-grid-lanes alias https://github.com/w3c/csswg-drafts/issues/10961 This commit does three things: * Makes layout tests use 'inline grid-lanes' which will be valid in any case. * Ensures parsing tests for both 'inline grid-lanes' and 'inline-grid-lanes', that check for correct behaior in implementations that support the alias as well as those that don't. At least one of these tests will fail in each implementation, to remind us to revisit once the CSSWG settles this issue. * Adds parsing tests for 'block grid-lanes' while we're at it. -- wpt-commits: 2ecae7137d455fc7f7b3c77fc19e1ca81d598218 wpt-pr: 57972
26 lines
986 B
HTML
26 lines
986 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Display: Parsing display with valid values</title>
|
|
<link rel="author" title="Ethan Jimenez" href="mailto:ethavar@microsoft.com">
|
|
<link rel="help" href="https://www.w3.org/TR/css-grid-3/#grid-lanes-containers">
|
|
<meta name="assert" content="display supports the new values 'grid-lanes | inline-grid-lanes'.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/parsing-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
// https://www.w3.org/TR/css-grid-3/#grid-lanes-containers
|
|
test_valid_value("display", "grid-lanes");
|
|
test_valid_value("display", "block grid-lanes", "grid-lanes");
|
|
test_valid_value("display", "grid-lanes block", "grid-lanes");
|
|
test_valid_value("display", "inline-grid-lanes");
|
|
test_valid_value("display", "inline grid-lanes");
|
|
test_valid_value("display", "grid-lanes inline", "inline grid-lanes");
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|