wpt / css / css-grid / inheritance.html

Status: PASS | Duration: 61ms | Subtests: 20/20 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
Property grid-auto-columns has initial value autoPASS
Property grid-auto-columns does not inheritPASS
Property grid-auto-flow has initial value rowPASS
Property grid-auto-flow does not inheritPASS
Property grid-auto-rows has initial value autoPASS
Property grid-auto-rows does not inheritPASS
Property grid-column-end has initial value autoPASS
Property grid-column-end does not inheritPASS
Property grid-column-start has initial value autoPASS
Property grid-column-start does not inheritPASS
Property grid-row-end has initial value autoPASS
Property grid-row-end does not inheritPASS
Property grid-row-start has initial value autoPASS
Property grid-row-start does not inheritPASS
Property grid-template-areas has initial value nonePASS
Property grid-template-areas does not inheritPASS
Property grid-template-columns has initial value nonePASS
Property grid-template-columns does not inheritPASS
Property grid-template-rows has initial value nonePASS
Property grid-template-rows does not inheritPASS

/css/css-grid/inheritance.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of CSS Grid Layout properties</title>
<link rel="help" href="https://drafts.csswg.org/css-grid/#property-index">
<meta name="assert" content="Properties inherit or not according to the spec.">
<meta name="assert" content="Properties have initial values according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_not_inherited('grid-auto-columns', 'auto', '10px');
assert_not_inherited('grid-auto-flow', 'row', 'column dense');
assert_not_inherited('grid-auto-rows', 'auto', '10px');
assert_not_inherited('grid-column-end', 'auto', 'span 2');
assert_not_inherited('grid-column-start', 'auto', 'span 2');
assert_not_inherited('grid-row-end', 'auto', 'span 2');
assert_not_inherited('grid-row-start', 'auto', 'span 2');
assert_not_inherited('grid-template-areas', 'none', '"one two" "three four"');
assert_not_inherited('grid-template-columns', 'none', '10px');
assert_not_inherited('grid-template-rows', 'none', '10px');
</script>
</body>
</html>