css/css-grid/parsing/
1,237 / 1,393 WPT subtests passing
- Failed
- 156
- Timed out
- 0
- Not run
- 0
- Test files
- 47
- Blocking files
- 0
Chrome 1,393 / 1,393 WPT subtests passing on the same files, none blocking, 1 without a result
Tests
47 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
grid-area-computed.html 34 / 35 passingChrome 35 / 351 failedWith failures
- ¶
FAILProperty grid-row-start value 'calc(10 + (sign(2cqw - 10px) * 5)) -a-'
assert_equals: expected "5 -a-" but got "auto"
34 passing subtests
- Property grid-area value 'auto / auto / auto / auto'
- Property grid-row value 'auto / auto'
- Property grid-column-end value 'auto'
- Property grid-row value '-zπ'
- Property grid-row-start value 'AZ'
- Property grid-column-start value '-_π'
- Property grid-row-end value '_9'
- Property grid-area value '1 / 90 -a- / auto / auto'
- Property grid-row value '2 az / auto'
- Property grid-column value '9 / -19 zA'
- Property grid-row-start value '-19'
- Property grid-row-start value '9 -Z_'
- Property grid-column-start value '-44 Z'
- Property grid-row-end value '1 -πA'
- Property grid-column-end value '5 π_'
- Property grid-row-start value 'calc(1.1) -a-'
- Property grid-row-start value 'calc(10) -a-'
- Property grid-row-start value 'span calc(-1)'
- Property grid-row-start value 'span calc(sibling-index() - 2)'
- Property grid-area value 'span 2 i / auto / auto / auto'
- Property grid-row value 'span 2 / auto'
- Property grid-column-start value 'span 1 i'
- Property grid-row-start value 'span 1'
- Property grid-row-end value 'span 2 i'
- Property grid-column-end value 'span 2'
- Property grid-row-start value 'span i'
- Property grid-row value 'span i / auto'
- Property grid-area value 'auto / i / auto / i'
- Property grid-area value 'auto / i / 2 j'
- Property grid-area value 'auto / i / 2 j / span 3 k'
- Property grid-row value 'auto / i'
- Property grid-column value '2 j / span 3 k'
- Property grid-column-end value '\31st'
- Property grid-column-end value '\31 st'
grid-area-invalid.html 25 / 25 passingChrome 25 / 250 failedClean
25 passing subtests
- e.style['grid-area'] = "'string'" should not set the property value
- e.style['grid-row'] = "1.0" should not set the property value
- e.style['grid-column'] = "1 2" should not set the property value
- e.style['grid-row-start'] = "+-3" should not set the property value
- e.style['grid-column-start'] = "0" should not set the property value
- e.style['grid-row-end'] = "span" should not set the property value
- e.style['grid-column-end'] = "sPaN" should not set the property value
- e.style['grid-column-end'] = "\"1st\"" should not set the property value
- e.style['grid-column-end'] = "1st" should not set the property value
- e.style['grid-column-start'] = "auto 1" should not set the property value
- e.style['grid-row-start'] = "1 auto" should not set the property value
- e.style['grid-area'] = "auto / initial" should not set the property value
- e.style['grid-row'] = "auto / inherit" should not set the property value
- e.style['grid-column'] = "auto / unset" should not set the property value
- e.style['grid-area'] = "auto / auto / auto / auto / auto" should not set the property value
- e.style['grid-row'] = "1 / 2 / 3" should not set the property value
- e.style['grid-column'] = "a / b / c" should not set the property value
- e.style['grid-row-end'] = "span 1 / span 2" should not set the property value
- e.style['grid-area'] = "auto 2 auto 4" should not set the property value
- e.style['grid-row'] = "33 -A0 auto" should not set the property value
- e.style['grid-row'] = "auto i 2 j span 3 k" should not set the property value
- e.style['grid-row-end'] = "1 auto" should not set the property value
- e.style['grid-row-end'] = "span 1 auto" should not set the property value
- e.style['grid-row-end'] = "span auto 1" should not set the property value
- e.style['grid-row-end'] = "1 auto span" should not set the property value
grid-area-shorthand.html 53 / 53 passingChrome 53 / 530 failedClean
53 passing subtests
- e.style['grid-area'] = "auto" should set grid-column-end
- e.style['grid-area'] = "auto" should set grid-column-start
- e.style['grid-area'] = "auto" should set grid-row-end
- e.style['grid-area'] = "auto" should set grid-row-start
- e.style['grid-area'] = "auto" should not set unrelated longhands
- e.style['grid-area'] = "--a" should set grid-column-end
- e.style['grid-area'] = "--a" should set grid-column-start
- e.style['grid-area'] = "--a" should set grid-row-end
- e.style['grid-area'] = "--a" should set grid-row-start
- e.style['grid-area'] = "--a" should not set unrelated longhands
- e.style['grid-area'] = "a / b" should set grid-column-end
- e.style['grid-area'] = "a / b" should set grid-column-start
- e.style['grid-area'] = "a / b" should set grid-row-end
- e.style['grid-area'] = "a / b" should set grid-row-start
- e.style['grid-area'] = "a / b" should not set unrelated longhands
- e.style['grid-area'] = "a / b / c" should set grid-column-end
- e.style['grid-area'] = "a / b / c" should set grid-column-start
- e.style['grid-area'] = "a / b / c" should set grid-row-end
- e.style['grid-area'] = "a / b / c" should set grid-row-start
- e.style['grid-area'] = "a / b / c" should not set unrelated longhands
- e.style['grid-area'] = "a / b / c / d" should set grid-column-end
- e.style['grid-area'] = "a / b / c / d" should set grid-column-start
- e.style['grid-area'] = "a / b / c / d" should set grid-row-end
- e.style['grid-area'] = "a / b / c / d" should set grid-row-start
- e.style['grid-area'] = "a / b / c / d" should not set unrelated longhands
- e.style['grid-area'] = "+90 -a- / 2 i span" should set grid-column-end
- e.style['grid-area'] = "+90 -a- / 2 i span" should set grid-column-start
- e.style['grid-area'] = "+90 -a- / 2 i span" should set grid-row-end
- e.style['grid-area'] = "+90 -a- / 2 i span" should set grid-row-start
- e.style['grid-area'] = "+90 -a- / 2 i span" should not set unrelated longhands
- e.style['grid-area'] = "1 / 2 / 3 / 4" should set grid-column-end
- e.style['grid-area'] = "1 / 2 / 3 / 4" should set grid-column-start
- e.style['grid-area'] = "1 / 2 / 3 / 4" should set grid-row-end
- e.style['grid-area'] = "1 / 2 / 3 / 4" should set grid-row-start
- e.style['grid-area'] = "1 / 2 / 3 / 4" should not set unrelated longhands
- e.style['grid-row'] = "auto" should set grid-row-end
- e.style['grid-row'] = "auto" should set grid-row-start
- e.style['grid-row'] = "auto" should not set unrelated longhands
- e.style['grid-row'] = "one / 2" should set grid-row-end
- e.style['grid-row'] = "one / 2" should set grid-row-start
- e.style['grid-row'] = "one / 2" should not set unrelated longhands
- e.style['grid-row'] = "1 two / four 3" should set grid-row-end
- e.style['grid-row'] = "1 two / four 3" should set grid-row-start
- e.style['grid-row'] = "1 two / four 3" should not set unrelated longhands
- e.style['grid-column'] = "5 span" should set grid-column-end
- e.style['grid-column'] = "5 span" should set grid-column-start
- e.style['grid-column'] = "5 span" should not set unrelated longhands
- e.style['grid-column'] = "1 / two" should set grid-column-end
- e.style['grid-column'] = "1 / two" should set grid-column-start
- e.style['grid-column'] = "1 / two" should not set unrelated longhands
- e.style['grid-column'] = "span 1 two / four 3 span" should set grid-column-end
- e.style['grid-column'] = "span 1 two / four 3 span" should set grid-column-start
- e.style['grid-column'] = "span 1 two / four 3 span" should not set unrelated longhands
grid-area-valid.html 60 / 60 passingChrome 60 / 600 failedClean
60 passing subtests
- e.style['grid-area'] = "auto" should set the property value
- e.style['grid-area'] = "auto / auto" should set the property value
- e.style['grid-area'] = "auto / auto / auto" should set the property value
- e.style['grid-area'] = "auto / auto / auto / auto" should set the property value
- e.style['grid-area'] = "AuTo" should set the property value
- e.style['grid-row'] = "auto" should set the property value
- e.style['grid-row'] = "auto/auto" should set the property value
- e.style['grid-column-end'] = "AuTo" should set the property value
- e.style['grid-area'] = "--a" should set the property value
- e.style['grid-row'] = "-zπ" should set the property value
- e.style['grid-row'] = "-zπ/-zπ" should set the property value
- e.style['grid-row'] = "i / i" should set the property value
- e.style['grid-row-start'] = "AZ" should set the property value
- e.style['grid-column-start'] = "-_π" should set the property value
- e.style['grid-row-end'] = "_9" should set the property value
- e.style['grid-area'] = "1" should set the property value
- e.style['grid-area'] = "+90 -a-" should set the property value
- e.style['grid-row'] = "az 2" should set the property value
- e.style['grid-column'] = "9" should set the property value
- e.style['grid-column'] = "-19 zA" should set the property value
- e.style['grid-column'] = "-A0 33" should set the property value
- e.style['grid-row-start'] = "-19" should set the property value
- e.style['grid-row-start'] = "9 -Z_" should set the property value
- e.style['grid-column-start'] = "+90" should set the property value
- e.style['grid-column-start'] = "Z -44" should set the property value
- e.style['grid-row-end'] = "1 -πA" should set the property value
- e.style['grid-column-end'] = "π_ +5" should set the property value
- e.style['grid-area'] = "span 2 i" should set the property value
- e.style['grid-area'] = "i 2 SpAn" should set the property value
- e.style['grid-area'] = "span 1 i" should set the property value
- e.style['grid-row'] = "span 2" should set the property value
- e.style['grid-column'] = "i SpAn" should set the property value
- e.style['grid-row-start'] = "span i" should set the property value
- e.style['grid-column-start'] = "SpAn i 2" should set the property value
- e.style['grid-row-end'] = "2 i span" should set the property value
- e.style['grid-column-end'] = "2 SpAn" should set the property value
- e.style['grid-column-start'] = "span calc(-2)" should set the property value
- e.style['grid-column-start'] = "span min(-1, 6)" should set the property value
- e.style['grid-column-start'] = "span calc(sibling-index() - 2)" should set the property value
- e.style['grid-area'] = "auto / i" should set the property value
- e.style['grid-area'] = "auto / i / auto / i" should set the property value
- e.style['grid-area'] = "auto / i / auto / 2 i" should set the property value
- e.style['grid-area'] = "1 / i / auto / i" should set the property value
- e.style['grid-area'] = "1 / auto / auto / auto" should set the property value
- e.style['grid-area'] = "1 / auto / i / auto" should set the property value
- e.style['grid-area'] = "1 / j / i / k" should set the property value
- e.style['grid-area'] = "1 / auto / 2 / auto" should set the property value
- e.style['grid-area'] = "1 / i / 2 / auto" should set the property value
- e.style['grid-area'] = "i / i / auto / auto" should set the property value
- e.style['grid-area'] = "i / auto / i / auto" should set the property value
- e.style['grid-area'] = "auto / i / 2 j" should set the property value
- e.style['grid-area'] = "auto / i / 2 j / span 3 k" should set the property value
- e.style['grid-row'] = "auto / i" should set the property value
- e.style['grid-row'] = "i / auto" should set the property value
- e.style['grid-row'] = "2 i / auto" should set the property value
- e.style['grid-row'] = "1 / auto" should set the property value
- e.style['grid-column'] = "2 j / span 3 k" should set the property value
- e.style['grid-column-end'] = "\\31st" should set the property value
- e.style['grid-column-end'] = "\\31 st" should set the property value
- e.style['grid-column'] = "\\31st / \\31 st" should set the property value
grid-auto-columns-computed.html 25 / 25 passingChrome 25 / 250 failedClean
25 passing subtests
- Property grid-auto-columns value '1px'
- Property grid-auto-columns value 'calc(10px + 0.5em)'
- Property grid-auto-columns value 'calc(10px - 0.5em)'
- Property grid-auto-columns value '4%'
- Property grid-auto-columns value '5fr'
- Property grid-auto-columns value 'min-content'
- Property grid-auto-columns value 'max-content'
- Property grid-auto-columns value 'auto'
- Property grid-auto-columns value 'minmax(1px, 5fr)'
- Property grid-auto-columns value 'minmax(calc(10px + 0.5em), max-content)'
- Property grid-auto-columns value 'minmax(calc(10px - 0.5em), max-content)'
- Property grid-auto-columns value 'minmax(4%, auto)'
- Property grid-auto-columns value 'minmax(min-content, calc(10px + 0.5em))'
- Property grid-auto-columns value 'minmax(auto, 4%)'
- Property grid-auto-columns value 'fit-content(1px)'
- Property grid-auto-columns value 'fit-content(calc(10px + 0.5em))'
- Property grid-auto-columns value 'fit-content(calc(10px - 0.5em))'
- Property grid-auto-columns value 'fit-content(4%)'
- Property grid-auto-columns value '0px'
- Property grid-auto-columns value '0%'
- Property grid-auto-columns value '0fr'
- Property grid-auto-columns value 'minmax(auto, 0%)'
- Property grid-auto-columns value 'fit-content(0px)'
- Property grid-auto-columns value '1px 2px 3px 0px'
- Property grid-auto-columns value 'fit-content(1px) minmax(2px, 3px) 4px'
grid-auto-columns-invalid.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- e.style['grid-auto-columns'] = "none" should not set the property value
- e.style['grid-auto-columns'] = "-1px" should not set the property value
- e.style['grid-auto-columns'] = "-4%" should not set the property value
- e.style['grid-auto-columns'] = "-1fr" should not set the property value
- e.style['grid-auto-columns'] = "minmax(1px)" should not set the property value
- e.style['grid-auto-columns'] = "minmax(1px, 2px, 3px)" should not set the property value
- e.style['grid-auto-columns'] = "minmax(5fr, 1px)" should not set the property value
- e.style['grid-auto-columns'] = "minmax(6px, -7%)" should not set the property value
- e.style['grid-auto-columns'] = "minmax(8px, -9fr)" should not set the property value
- e.style['grid-auto-columns'] = "fit-content(-1px)" should not set the property value
- e.style['grid-auto-columns'] = "fit-content(1px, 2px)" should not set the property value
- e.style['grid-auto-columns'] = "fit-content(1px auto)" should not set the property value
- e.style['grid-auto-columns'] = "2em / 3em" should not set the property value
- e.style['grid-auto-columns'] = "auto, 10%" should not set the property value
- e.style['grid-auto-columns'] = "1px [a] 1px" should not set the property value
- e.style['grid-auto-columns'] = "[] 1px []" should not set the property value
grid-auto-columns-valid.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- e.style['grid-auto-columns'] = "1px" should set the property value
- e.style['grid-auto-columns'] = "2em" should set the property value
- e.style['grid-auto-columns'] = "calc(2em + 3ex)" should set the property value
- e.style['grid-auto-columns'] = "4%" should set the property value
- e.style['grid-auto-columns'] = "5fr" should set the property value
- e.style['grid-auto-columns'] = "min-content" should set the property value
- e.style['grid-auto-columns'] = "max-content" should set the property value
- e.style['grid-auto-columns'] = "auto" should set the property value
- e.style['grid-auto-columns'] = "auto /**/" should set the property value
- e.style['grid-auto-columns'] = "minmax(1px, 5fr)" should set the property value
- e.style['grid-auto-columns'] = "minmax(2em, min-content)" should set the property value
- e.style['grid-auto-columns'] = "minmax(calc(2em + 3ex), max-content)" should set the property value
- e.style['grid-auto-columns'] = "minmax(4%, auto)" should set the property value
- e.style['grid-auto-columns'] = "minmax(5vmin, 1px)" should set the property value
- e.style['grid-auto-columns'] = "minmax(min-content, 2em)" should set the property value
- e.style['grid-auto-columns'] = "minmax(max-content, calc(2em + 3ex))" should set the property value
- e.style['grid-auto-columns'] = "minmax(auto, 4%)" should set the property value
- e.style['grid-auto-columns'] = "fit-content(1px)" should set the property value
- e.style['grid-auto-columns'] = "fit-content(2em)" should set the property value
- e.style['grid-auto-columns'] = "fit-content(calc(2em + 3ex))" should set the property value
- e.style['grid-auto-columns'] = "fit-content(4%)" should set the property value
- e.style['grid-auto-columns'] = "0px" should set the property value
- e.style['grid-auto-columns'] = "0%" should set the property value
- e.style['grid-auto-columns'] = "0fr" should set the property value
- e.style['grid-auto-columns'] = "minmax(auto, 0%)" should set the property value
- e.style['grid-auto-columns'] = "fit-content(0px)" should set the property value
- e.style['grid-auto-columns'] = "auto auto" should set the property value
- e.style['grid-auto-columns'] = "auto 10px" should set the property value
- e.style['grid-auto-columns'] = "1px 2px 3px 0px" should set the property value
- e.style['grid-auto-columns'] = "fit-content(1px) minmax(2px, 3px) 4px" should set the property value
grid-auto-flow-computed.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Property grid-auto-flow value 'row'
- Property grid-auto-flow value 'column'
- Property grid-auto-flow value 'row dense'
- Property grid-auto-flow value 'column dense'
- Property grid-auto-flow value 'dense row'
- Property grid-auto-flow value 'dense column'
- Property grid-auto-flow value 'dense'
grid-auto-flow-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['grid-auto-flow'] = "auto" should not set the property value
- e.style['grid-auto-flow'] = "row dense column" should not set the property value
- e.style['grid-auto-flow'] = "dense row dense" should not set the property value
grid-auto-flow-valid.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- e.style['grid-auto-flow'] = "row" should set the property value
- e.style['grid-auto-flow'] = "column" should set the property value
- e.style['grid-auto-flow'] = "row dense" should set the property value
- e.style['grid-auto-flow'] = "dense row" should set the property value
- e.style['grid-auto-flow'] = "dense" should set the property value
- e.style['grid-auto-flow'] = "column dense" should set the property value
- e.style['grid-auto-flow'] = "dense column" should set the property value
grid-auto-rows-computed.html 25 / 25 passingChrome 25 / 250 failedClean
25 passing subtests
- Property grid-auto-rows value '1px'
- Property grid-auto-rows value 'calc(10px + 0.5em)'
- Property grid-auto-rows value 'calc(10px - 0.5em)'
- Property grid-auto-rows value '4%'
- Property grid-auto-rows value '5fr'
- Property grid-auto-rows value 'min-content'
- Property grid-auto-rows value 'max-content'
- Property grid-auto-rows value 'auto'
- Property grid-auto-rows value 'minmax(1px, 5fr)'
- Property grid-auto-rows value 'minmax(calc(10px + 0.5em), max-content)'
- Property grid-auto-rows value 'minmax(calc(10px - 0.5em), max-content)'
- Property grid-auto-rows value 'minmax(4%, auto)'
- Property grid-auto-rows value 'minmax(min-content, calc(10px + 0.5em))'
- Property grid-auto-rows value 'minmax(auto, 4%)'
- Property grid-auto-rows value 'fit-content(1px)'
- Property grid-auto-rows value 'fit-content(calc(10px + 0.5em))'
- Property grid-auto-rows value 'fit-content(calc(10px - 0.5em))'
- Property grid-auto-rows value 'fit-content(4%)'
- Property grid-auto-rows value '0px'
- Property grid-auto-rows value '0%'
- Property grid-auto-rows value '0fr'
- Property grid-auto-rows value 'minmax(auto, 0%)'
- Property grid-auto-rows value 'fit-content(0px)'
- Property grid-auto-rows value '1px 2px 3px 0px'
- Property grid-auto-rows value 'fit-content(1px) minmax(2px, 3px) 4px'
grid-auto-rows-invalid.html 15 / 15 passingChrome 15 / 150 failedClean
15 passing subtests
- e.style['grid-auto-rows'] = "none" should not set the property value
- e.style['grid-auto-rows'] = "-1px" should not set the property value
- e.style['grid-auto-rows'] = "-4%" should not set the property value
- e.style['grid-auto-rows'] = "-1fr" should not set the property value
- e.style['grid-auto-rows'] = "minmax(1px)" should not set the property value
- e.style['grid-auto-rows'] = "minmax(1px, 2px, 3px)" should not set the property value
- e.style['grid-auto-rows'] = "minmax(5fr, 1px)" should not set the property value
- e.style['grid-auto-rows'] = "minmax(6px, -7%)" should not set the property value
- e.style['grid-auto-rows'] = "fit-content(-1px)" should not set the property value
- e.style['grid-auto-rows'] = "fit-content(1px, 2px)" should not set the property value
- e.style['grid-auto-rows'] = "fit-content(1px auto)" should not set the property value
- e.style['grid-auto-rows'] = "2em / 3em" should not set the property value
- e.style['grid-auto-rows'] = "auto, 10%" should not set the property value
- e.style['grid-auto-rows'] = "1px [a] 1px" should not set the property value
- e.style['grid-auto-rows'] = "[] 1px []" should not set the property value
grid-auto-rows-valid.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- e.style['grid-auto-rows'] = "1px" should set the property value
- e.style['grid-auto-rows'] = "2em" should set the property value
- e.style['grid-auto-rows'] = "calc(2em + 3ex)" should set the property value
- e.style['grid-auto-rows'] = "4%" should set the property value
- e.style['grid-auto-rows'] = "5fr" should set the property value
- e.style['grid-auto-rows'] = "min-content" should set the property value
- e.style['grid-auto-rows'] = "max-content" should set the property value
- e.style['grid-auto-rows'] = "auto" should set the property value
- e.style['grid-auto-rows'] = "auto /**/" should set the property value
- e.style['grid-auto-rows'] = "minmax(1px, 5fr)" should set the property value
- e.style['grid-auto-rows'] = "minmax(2em, min-content)" should set the property value
- e.style['grid-auto-rows'] = "minmax(calc(2em + 3ex), max-content)" should set the property value
- e.style['grid-auto-rows'] = "minmax(4%, auto)" should set the property value
- e.style['grid-auto-rows'] = "minmax(5vmin, 1px)" should set the property value
- e.style['grid-auto-rows'] = "minmax(min-content, 2em)" should set the property value
- e.style['grid-auto-rows'] = "minmax(max-content, calc(2em + 3ex))" should set the property value
- e.style['grid-auto-rows'] = "minmax(auto, 4%)" should set the property value
- e.style['grid-auto-rows'] = "fit-content(1px)" should set the property value
- e.style['grid-auto-rows'] = "fit-content(2em)" should set the property value
- e.style['grid-auto-rows'] = "fit-content(calc(2em + 3ex))" should set the property value
- e.style['grid-auto-rows'] = "fit-content(4%)" should set the property value
- e.style['grid-auto-rows'] = "0px" should set the property value
- e.style['grid-auto-rows'] = "0%" should set the property value
- e.style['grid-auto-rows'] = "0fr" should set the property value
- e.style['grid-auto-rows'] = "minmax(auto, 0%)" should set the property value
- e.style['grid-auto-rows'] = "fit-content(0px)" should set the property value
- e.style['grid-auto-rows'] = "auto auto" should set the property value
- e.style['grid-auto-rows'] = "auto 10px" should set the property value
- e.style['grid-auto-rows'] = "1px 2px 3px 0px" should set the property value
- e.style['grid-auto-rows'] = "fit-content(1px) minmax(2px, 3px) 4px" should set the property value
grid-column-invalid.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- e.style['grid-column'] = "4 5" should not set the property value
- e.style['grid-column'] = "4 /" should not set the property value
- e.style['grid-column'] = "5 5" should not set the property value
- e.style['grid-column'] = "5 / /" should not set the property value
- e.style['grid-column'] = "0 / 5" should not set the property value
- e.style['grid-column'] = "6 / 0" should not set the property value
- e.style['grid-column'] = "0" should not set the property value
- e.style['grid-column'] = "span" should not set the property value
- e.style['grid-column'] = "span / span" should not set the property value
- e.style['grid-column'] = "span span / span span" should not set the property value
- e.style['grid-column'] = "5 5 / span 2" should not set the property value
- e.style['grid-column'] = "5 first last / span 2" should not set the property value
- e.style['grid-column'] = "5 / first last 2" should not set the property value
- e.style['grid-column'] = "first last / span 2" should not set the property value
- e.style['grid-column'] = "5 / first last" should not set the property value
- e.style['grid-column'] = "5 5 span / 2" should not set the property value
- e.style['grid-column'] = "span 3 5 / 1" should not set the property value
- e.style['grid-column'] = "span last first / 1" should not set the property value
- e.style['grid-column'] = "2 / span last first" should not set the property value
- e.style['grid-column'] = "span 1 last first / 1" should not set the property value
- e.style['grid-column'] = "2 / span last 3 first" should not set the property value
- e.style['grid-column'] = "1 span 2 first / 1" should not set the property value
- e.style['grid-column'] = "2 / 3 span 3 first" should not set the property value
- e.style['grid-column'] = "span -1 / -2" should not set the property value
- e.style['grid-column'] = "-1 / -2 span" should not set the property value
- e.style['grid-column'] = "0 span / 0" should not set the property value
- e.style['grid-column'] = "0 / span 0" should not set the property value
- e.style['grid-column'] = "span -3 'first' / 3 last" should not set the property value
- e.style['grid-column'] = "first span 1 / last" should not set the property value
- e.style['grid-column'] = "3 first / 2 span last" should not set the property value
- e.style['grid-column'] = "3 / 1 span 2" should not set the property value
grid-column-shortest-serialization.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- Property grid-column value 'auto / auto'
- Property grid-column value 'auto'
- Property grid-column value '10 / auto'
- Property grid-column value '10'
- Property grid-column value '-10 / auto'
- Property grid-column value '-10'
- Property grid-column value 'first / first'
- Property grid-column value 'first'
- Property grid-column value 'span 2 / auto'
- Property grid-column value 'span 2'
- Property grid-column value '2 first / auto'
- Property grid-column value '2 first'
- Property grid-column value 'span first / auto'
- Property grid-column value 'span first'
- Property grid-column value 'span 2 first / auto'
- Property grid-column value 'span 2 first'
grid-column-shorthand.html 48 / 48 passingChrome 48 / 480 failedClean
48 passing subtests
- e.style['grid-column'] = "auto / auto" should set grid-column-end
- e.style['grid-column'] = "auto / auto" should set grid-column-start
- e.style['grid-column'] = "auto / auto" should not set unrelated longhands
- e.style['grid-column'] = "auto" should set grid-column-end
- e.style['grid-column'] = "auto" should set grid-column-start
- e.style['grid-column'] = "auto" should not set unrelated longhands
- e.style['grid-column'] = "10 / auto" should set grid-column-end
- e.style['grid-column'] = "10 / auto" should set grid-column-start
- e.style['grid-column'] = "10 / auto" should not set unrelated longhands
- e.style['grid-column'] = "10" should set grid-column-end
- e.style['grid-column'] = "10" should set grid-column-start
- e.style['grid-column'] = "10" should not set unrelated longhands
- e.style['grid-column'] = "-10 / auto" should set grid-column-end
- e.style['grid-column'] = "-10 / auto" should set grid-column-start
- e.style['grid-column'] = "-10 / auto" should not set unrelated longhands
- e.style['grid-column'] = "-10" should set grid-column-end
- e.style['grid-column'] = "-10" should set grid-column-start
- e.style['grid-column'] = "-10" should not set unrelated longhands
- e.style['grid-column'] = "span 2 / auto" should set grid-column-end
- e.style['grid-column'] = "span 2 / auto" should set grid-column-start
- e.style['grid-column'] = "span 2 / auto" should not set unrelated longhands
- e.style['grid-column'] = "span 2" should set grid-column-end
- e.style['grid-column'] = "span 2" should set grid-column-start
- e.style['grid-column'] = "span 2" should not set unrelated longhands
- e.style['grid-column'] = "3 last / auto" should set grid-column-end
- e.style['grid-column'] = "3 last / auto" should set grid-column-start
- e.style['grid-column'] = "3 last / auto" should not set unrelated longhands
- e.style['grid-column'] = "3 last" should set grid-column-end
- e.style['grid-column'] = "3 last" should set grid-column-start
- e.style['grid-column'] = "3 last" should not set unrelated longhands
- e.style['grid-column'] = "span first / auto" should set grid-column-end
- e.style['grid-column'] = "span first / auto" should set grid-column-start
- e.style['grid-column'] = "span first / auto" should not set unrelated longhands
- e.style['grid-column'] = "span first" should set grid-column-end
- e.style['grid-column'] = "span first" should set grid-column-start
- e.style['grid-column'] = "span first" should not set unrelated longhands
- e.style['grid-column'] = "span 2 first / auto" should set grid-column-end
- e.style['grid-column'] = "span 2 first / auto" should set grid-column-start
- e.style['grid-column'] = "span 2 first / auto" should not set unrelated longhands
- e.style['grid-column'] = "span 2 first" should set grid-column-end
- e.style['grid-column'] = "span 2 first" should set grid-column-start
- e.style['grid-column'] = "span 2 first" should not set unrelated longhands
- e.style['grid-column'] = "last / last" should set grid-column-end
- e.style['grid-column'] = "last / last" should set grid-column-start
- e.style['grid-column'] = "last / last" should not set unrelated longhands
- e.style['grid-column'] = "last" should set grid-column-end
- e.style['grid-column'] = "last" should set grid-column-start
- e.style['grid-column'] = "last" should not set unrelated longhands
grid-columns-rows-get-set-multiple.html 17 / 40 passingChrome 40 / 4023 failedWith failures
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithPercentElement' : grid-template-columns = '400px 800px', grid-template-rows = '150px 450px'
assert_equals: expected "400px 800px" but got "50% 100%"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithPercentWithoutSize' : grid-template-columns = '3.5px 7px', grid-template-rows = '4px 12px'
assert_equals: expected "3.5px 7px" but got "50% 100%"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithAutoElement' : grid-template-columns = '0px 17px', grid-template-rows = '0px 3px'
assert_equals: expected "0px 17px" but got "auto auto"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithThreeItems' : grid-template-columns = '15px 0px 100px', grid-template-rows = '120px 18px 0px'
assert_equals: expected "15px 0px 100px" but got "15px auto 100px"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithMinMaxContent' : grid-template-columns = '0px 0px', grid-template-rows = '0px 0px'
assert_equals: expected "0px 0px" but got "min-content max-content"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithMinMaxContentWithChildrenElement' : grid-template-columns = '7px 17px', grid-template-rows = '16px 3px'
assert_equals: expected "7px 17px" but got "min-content max-content"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithMinMaxAndFixed' : grid-template-columns = '240px 15px', grid-template-rows = '120px 210px'
assert_equals: expected "240px 15px" but got "minmax(45px, 30%) 15px"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithMinMaxAndMinMaxContent' : grid-template-columns = '240px 15px', grid-template-rows = '120px 210px'
assert_equals: expected "240px 15px" but got "minmax(min-content, 30%) 15px"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithFractionFraction' : grid-template-columns = '320px 480px', grid-template-rows = '225px 375px'
assert_equals: expected "320px 480px" but got "2fr 3fr"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithFractionMinMax' : grid-template-columns = '45px 755px', grid-template-rows = '586px 14px'
assert_equals: expected "45px 755px" but got "minmax(min-content, 45px) 2fr"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithCalcAndFixed' : grid-template-columns = '400px 80px', grid-template-rows = '88px 150px'
assert_equals: expected "400px 80px" but got "50% 80px"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithCalcAndMinMax' : grid-template-columns = '190px 80px', grid-template-rows = '150px 53px'
assert_equals: expected "190px 80px" but got "calc(20% + 30px) minmax(min-content, 80px)"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithCalcInsideMinMax' : grid-template-columns = '400px 120px', grid-template-rows = '150px 175px'
assert_equals: expected "400px 120px" but got "minmax(calc(10% + 23px), 400px) 120px"
- ¶
FAILTest getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithAutoInsideMinMax' : grid-template-columns = '0px 30px', grid-template-rows = '132px 60px'
assert_equals: expected "0px 30px" but got "minmax(auto, min-content) 30px"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '440px 640px', element.style.gridTemplateColumns = '55% 80%', grid-template-rows = '240px 378px', element.style.gridTemplateRows = '40% 63%'
assert_equals: expected "440px 640px" but got "55% 80%"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '0px 0px', element.style.gridTemplateColumns = 'auto auto', grid-template-rows = '0px 0px', element.style.gridTemplateRows = 'auto auto'
assert_equals: expected "0px 0px" but got "auto auto"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '0px 160px 22px', element.style.gridTemplateColumns = 'auto 16em 22px', grid-template-rows = '336px 100px 0px', element.style.gridTemplateRows = '56% 10em auto'
assert_equals: expected "0px 160px 22px" but got "auto 160px 22px"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '160px 20px', element.style.gridTemplateColumns = '16em minmax(16px, 20px)', grid-template-rows = '90px 0px', element.style.gridTemplateRows = 'minmax(10%, 15%) auto'
assert_equals: expected "160px 20px" but got "160px minmax(16px, 20px)"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '160px 640px', element.style.gridTemplateColumns = '16em 2fr', grid-template-rows = '600px 0px', element.style.gridTemplateRows = '14fr auto'
assert_equals: expected "160px 640px" but got "160px 2fr"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '25px 20px', element.style.gridTemplateColumns = 'calc(25px) calc(2em)', grid-template-rows = '0px 60px', element.style.gridTemplateRows = 'auto calc(10%)'
assert_equals: expected "0px 60px" but got "auto 10%"
- ¶
FAILTest getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '345px 92px', element.style.gridTemplateColumns = 'calc(25px + 40%) minmax(min-content, calc(10% + 12px))', grid-template-rows = '100px 0px', element.style.gridTemplateRows = 'minmax(calc(75% - 350px), max-content) auto'
assert_equals: expected "345px 92px" but got "calc(40% + 25px) minmax(min-content, calc(10% + 12px))"
- ¶
FAILTest setting grid-template-columns and grid-template-rows to 'inherit' through JS
assert_equals: expected "50px 750px [last]" but got "50px 1fr [last]"
- ¶
FAILTest setting grid-template-columns and grid-template-rows to 'initial' through JS
assert_equals: expected "1200px [middle] 55px" but got "150% [middle] 55px"
17 passing subtests
- Test getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithFixedElement' : grid-template-columns = '7px 11px', grid-template-rows = '17px 2px'
- Test getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithEMElement' : grid-template-columns = '100px 120px', grid-template-rows = '150px 170px'
- Test getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithFitContentAndFitAvailable' : grid-template-columns = 'none', grid-template-rows = 'none'
- Test getting grid-template-columns and grid-template-rows set through CSS for element 'gridWithCalcCalc' : grid-template-columns = '200px 100px', grid-template-rows = '150px 75px'
- Test getting and setting grid-template-rows and grid-template-columns through JS: grid-template-columns = '18px 22px', element.style.gridTemplateColumns = '18px 22px', grid-template-rows = '66px 70px', element.style.gridTemplateRows = '66px 70px'
- Test setting wrong/invalid values through CSS
- Test setting bad JS values: grid-template-columns = 'none auto', grid-template-rows = 'none auto'
- Test setting bad JS values: grid-template-columns = 'none 16em', grid-template-rows = 'none 56%'
- Test setting bad JS values: grid-template-columns = 'none none', grid-template-rows = 'none none'
- Test setting bad JS values: grid-template-columns = 'auto none', grid-template-rows = 'auto none'
- Test setting bad JS values: grid-template-columns = 'auto none 16em', grid-template-rows = 'auto 18em none'
- Test setting bad JS values: grid-template-columns = '-webkit-fit-content -webkit-fit-content', grid-template-rows = '-webkit-fit-available -webkit-fit-available'
- Test setting bad JS values: grid-template-columns = '-10px minmax(16px, 32px)', grid-template-rows = 'minmax(10%, 15%) -10vw'
- Test setting bad JS values: grid-template-columns = '10px minmax(16px, -1vw)', grid-template-rows = 'minmax(-1%, 15%) 10vw'
- Test setting bad JS values: grid-template-columns = '10px calc(16px 30px)', grid-template-rows = 'calc(25px + auto) 2em'
- Test setting bad JS values: grid-template-columns = 'minmax(min-content, calc() 250px', grid-template-rows = 'calc(2em('
- Test the default value
grid-content-sized-columns-resolution.html 0 / 42 passingChrome 42 / 4242 failedExempt
Exempt from the 0.1 gate until a renderer answers geometry
all 42 subtests read getComputedStyle(grid).gridTemplateColumns, whose resolved value for a grid container is its used track sizes (CSS Grid 7.2.6) - min-content/max-content/auto tracks sized from Ahem items by the track sizing algorithm, which needs layout; with no box Crane answers the computed track list
- Failing assertion
- assert_equals: expected "15px 75px" but got "minmax(min-content, 15px) auto" (the other 41 subtests likewise: the computed track list where the used sizes are expected)
- ¶
FAILElement 'gridMinContentFixedAndAuto' grid-template-columns value computes to '15px 75px'
assert_equals: expected "15px 75px" but got "minmax(min-content, 15px) auto"
- ¶
FAILElement 'gridAutoAndAuto' grid-template-columns value computes to '45px 45px'
assert_equals: expected "45px 45px" but got "auto auto"
- ¶
FAILElement 'gridMinContentAndMinContentFixed' grid-template-columns value computes to '20px 30px'
assert_equals: expected "20px 30px" but got "min-content minmax(min-content, 30px)"
- ¶
FAILElement 'gridMaxContentAndMinContent' grid-template-columns value computes to '70px 20px'
assert_equals: expected "70px 20px" but got "max-content min-content"
- ¶
FAILElement 'gridFixedMinContentAndMaxContent' grid-template-columns value computes to '10px 80px'
assert_equals: expected "10px 80px" but got "minmax(10px, min-content) max-content"
- ¶
FAILElement 'gridFixedMaxContentAndMinContent' grid-template-columns value computes to '60px 30px'
assert_equals: expected "60px 30px" but got "minmax(10px, max-content) min-content"
- ¶
FAILElement 'gridMinContentAndMaxContentFixed' grid-template-columns value computes to '20px 70px'
assert_equals: expected "20px 70px" but got "min-content minmax(max-content, 30px)"
- ¶
FAILElement 'gridMaxContentFixedAndAuto' grid-template-columns value computes to '65px 25px'
assert_equals: expected "65px 25px" but got "minmax(max-content, 15px) auto"
- ¶
FAILElement 'gridAutoMinContent' grid-template-columns value computes to '70px 20px'
assert_equals: expected "70px 20px" but got "auto min-content"
- ¶
FAILElement 'gridAutoMaxContent' grid-template-columns value computes to '20px 70px'
assert_equals: expected "20px 70px" but got "auto max-content"
- ¶
FAILElement 'gridMaxContentAndMinContentFixed' grid-template-columns value computes to '70px 20px'
assert_equals: expected "70px 20px" but got "max-content minmax(min-content, 35px)"
- ¶
FAILElement 'gridMaxContentAndMaxContentFixed' grid-template-columns value computes to '55px 35px'
assert_equals: expected "55px 35px" but got "max-content minmax(max-content, 35px)"
- ¶
FAILElement 'gridMinContentFixedAndAutoUnsortedConstrained' grid-template-columns value computes to '0px 40px'
assert_equals: expected "0px 40px" but got "minmax(min-content, 15px) auto"
- ¶
FAILElement 'gridAutoAndAutoUnsortedConstrained' grid-template-columns value computes to '10px 30px'
assert_equals: expected "10px 30px" but got "auto auto"
- ¶
FAILElement 'gridMinContentAndMinContentFixedUnsortedConstrained' grid-template-columns value computes to '0px 40px'
assert_equals: expected "0px 40px" but got "min-content minmax(min-content, 30px)"
- ¶
FAILElement 'gridMaxContentAndMinContentUnsortedConstrained' grid-template-columns value computes to '0px 70px'
assert_equals: expected "0px 70px" but got "max-content min-content"
- ¶
FAILElement 'gridFixedMinContentAndMaxContentUnsortedConstrained' grid-template-columns value computes to '10px 70px'
assert_equals: expected "10px 70px" but got "minmax(10px, min-content) max-content"
- ¶
FAILElement 'gridFixedMaxContentAndMinContentUnsortedConstrained' grid-template-columns value computes to '10px 40px'
assert_equals: expected "10px 40px" but got "minmax(10px, max-content) min-content"
- ¶
FAILElement 'gridMinContentAndMaxContentFixedUnsortedConstrained' grid-template-columns value computes to '0px 90px'
assert_equals: expected "0px 90px" but got "min-content minmax(max-content, 30px)"
- ¶
FAILElement 'gridMaxContentFixedAndAutoUnsortedConstrained' grid-template-columns value computes to '10px 40px'
assert_equals: expected "10px 40px" but got "minmax(max-content, 15px) auto"
- ¶
FAILElement 'gridAutoMinContentUnsortedConstrained' grid-template-columns value computes to '0px 60px'
assert_equals: expected "0px 60px" but got "auto min-content"
- ¶
FAILElement 'gridAutoMaxContentUnsortedConstrained' grid-template-columns value computes to '0px 90px'
assert_equals: expected "0px 90px" but got "auto max-content"
- ¶
FAILElement 'gridMaxContentAndMinContentFixedUnsortedConstrained' grid-template-columns value computes to '50px 40px'
assert_equals: expected "50px 40px" but got "max-content minmax(min-content, 35px)"
- ¶
FAILElement 'gridMaxContentAndMaxContentFixedUnsortedConstrained' grid-template-columns value computes to '40px 70px'
assert_equals: expected "40px 70px" but got "max-content minmax(max-content, 35px)"
- ¶
FAILElement 'gridMinContentFixedAndAutoUnsorted' grid-template-columns value computes to '15px 90px'
assert_equals: expected "15px 90px" but got "minmax(min-content, 15px) auto"
- ¶
FAILElement 'gridAutoAndAutoUnsorted' grid-template-columns value computes to '60px 30px'
assert_equals: expected "60px 30px" but got "auto auto"
- ¶
FAILElement 'gridMinContentAndMinContentFixedUnsorted' grid-template-columns value computes to '0px 40px'
assert_equals: expected "0px 40px" but got "min-content minmax(min-content, 30px)"
- ¶
FAILElement 'gridMaxContentAndMinContentUnsorted' grid-template-columns value computes to '0px 70px'
assert_equals: expected "0px 70px" but got "max-content min-content"
- ¶
FAILElement 'gridFixedMinContentAndMaxContentUnsorted' grid-template-columns value computes to '10px 70px'
assert_equals: expected "10px 70px" but got "minmax(10px, min-content) max-content"
- ¶
FAILElement 'gridFixedMaxContentAndMinContentUnsorted' grid-template-columns value computes to '50px 40px'
assert_equals: expected "50px 40px" but got "minmax(10px, max-content) min-content"
- ¶
FAILElement 'gridMinContentAndMaxContentFixedUnsorted' grid-template-columns value computes to '0px 90px'
assert_equals: expected "0px 90px" but got "min-content minmax(max-content, 30px)"
- ¶
FAILElement 'gridMaxContentFixedAndAutoUnsorted' grid-template-columns value computes to '15px 70px'
assert_equals: expected "15px 70px" but got "minmax(max-content, 15px) auto"
- ¶
FAILElement 'gridAutoMinContentUnsorted' grid-template-columns value computes to '50px 60px'
assert_equals: expected "50px 60px" but got "auto min-content"
- ¶
FAILElement 'gridAutoMaxContentUnsorted' grid-template-columns value computes to '0px 90px'
assert_equals: expected "0px 90px" but got "auto max-content"
- ¶
FAILElement 'gridMaxContentAndMinContentFixedUnsorted' grid-template-columns value computes to '50px 40px'
assert_equals: expected "50px 40px" but got "max-content minmax(min-content, 35px)"
- ¶
FAILElement 'gridMaxContentAndMaxContentFixedUnsorted' grid-template-columns value computes to '40px 70px'
assert_equals: expected "40px 70px" but got "max-content minmax(max-content, 35px)"
- ¶
FAILElement 'gridMinContentFixedAndAutoAboveLimits' grid-template-columns value computes to '15px 95px'
assert_equals: expected "15px 95px" but got "minmax(min-content, 15px) auto"
- ¶
FAILElement 'gridMaxContentFixedAndAutoAboveLimits' grid-template-columns value computes to '15px 135px'
assert_equals: expected "15px 135px" but got "minmax(max-content, 15px) auto"
- ¶
FAILElement 'gridMinContentFixedAndFixedFixedAndAuto' grid-template-columns value computes to '20px 20px 60px'
assert_equals: expected "20px 20px 60px" but got "minmax(min-content, 20px) minmax(20px, 30px) auto"
- ¶
FAILElement 'gridAutoAndFixedFixedAndMaxContentFixed' grid-template-columns value computes to '110px 20px 20px'
assert_equals: expected "110px 20px 20px" but got "auto minmax(20px, 30px) minmax(max-content, 20px)"
- ¶
FAILElement 'gridMaxContentAndMaxContentFixedAndMaxContent' grid-template-columns value computes to '70px 20px 50px'
assert_equals: expected "70px 20px 50px" but got "max-content minmax(max-content, 20px) max-content"
- ¶
FAILElement 'gridAutoAndMinContentFixedAndMinContent' grid-template-columns value computes to '55px 30px 65px'
assert_equals: expected "55px 30px 65px" but got "auto minmax(min-content, 30px) min-content"
grid-row-invalid.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- e.style['grid-row'] = "5 8" should not set the property value
- e.style['grid-row'] = "5 /" should not set the property value
- e.style['grid-row'] = "8 auto" should not set the property value
- e.style['grid-row'] = "8 / /" should not set the property value
- e.style['grid-row'] = "0 / 6" should not set the property value
- e.style['grid-row'] = "8 / 0" should not set the property value
- e.style['grid-row'] = "0" should not set the property value
- e.style['grid-row'] = "span" should not set the property value
- e.style['grid-row'] = "span / span" should not set the property value
- e.style['grid-row'] = "span span / span span" should not set the property value
- e.style['grid-row'] = "4 4 / 3 span" should not set the property value
- e.style['grid-row'] = "first 4 last / 3 span" should not set the property value
- e.style['grid-row'] = "4 / first 3 last" should not set the property value
- e.style['grid-row'] = "first last / 3 span" should not set the property value
- e.style['grid-row'] = "4 / first last" should not set the property value
- e.style['grid-row'] = "span 4 4 / 3" should not set the property value
- e.style['grid-row'] = "5 span 4 / 3" should not set the property value
- e.style['grid-row'] = "span first last / 3" should not set the property value
- e.style['grid-row'] = "3 / span first last" should not set the property value
- e.style['grid-row'] = "span first last 7 / 3" should not set the property value
- e.style['grid-row'] = "3 / span first 5 last" should not set the property value
- e.style['grid-row'] = "1 span last 7 / 3" should not set the property value
- e.style['grid-row'] = "3 / 5 span first 5" should not set the property value
- e.style['grid-row'] = "-3 span / -4" should not set the property value
- e.style['grid-row'] = "-3 / span -4" should not set the property value
- e.style['grid-row'] = "span 0 / 0" should not set the property value
- e.style['grid-row'] = "0 / 0 span" should not set the property value
- e.style['grid-row'] = "last -2 span / 1 nav" should not set the property value
- e.style['grid-row'] = "2 span first / last" should not set the property value
- e.style['grid-row'] = "5 nav / last span 7" should not set the property value
- e.style['grid-row'] = "5 / 3 span 3" should not set the property value
grid-row-shortest-serialization.html 15 / 15 passingChrome 15 / 150 failedClean
15 passing subtests
- Property grid-row value 'auto / auto'
- Property grid-row value 'auto'
- Property grid-row value '10 / auto'
- Property grid-row value '10'
- Property grid-row value '-10 / auto'
- Property grid-row value '-10'
- Property grid-row value 'span 2 / auto'
- Property grid-row value 'span 2'
- Property grid-row value '3 last / auto'
- Property grid-row value '3 last'
- Property grid-row value 'span first / auto'
- Property grid-row value 'span first'
- Property grid-row value 'span 2 first / auto'
- Property grid-row value 'span 2 first'
- Property grid-row value 'last / last'
grid-row-shorthand.html 48 / 48 passingChrome 48 / 480 failedClean
48 passing subtests
- e.style['grid-row'] = "auto / auto" should set grid-row-end
- e.style['grid-row'] = "auto / auto" should set grid-row-start
- e.style['grid-row'] = "auto / auto" should not set unrelated longhands
- e.style['grid-row'] = "auto" should set grid-row-end
- e.style['grid-row'] = "auto" should set grid-row-start
- e.style['grid-row'] = "auto" should not set unrelated longhands
- e.style['grid-row'] = "10 / auto" should set grid-row-end
- e.style['grid-row'] = "10 / auto" should set grid-row-start
- e.style['grid-row'] = "10 / auto" should not set unrelated longhands
- e.style['grid-row'] = "10" should set grid-row-end
- e.style['grid-row'] = "10" should set grid-row-start
- e.style['grid-row'] = "10" should not set unrelated longhands
- e.style['grid-row'] = "-10 / auto" should set grid-row-end
- e.style['grid-row'] = "-10 / auto" should set grid-row-start
- e.style['grid-row'] = "-10 / auto" should not set unrelated longhands
- e.style['grid-row'] = "-10" should set grid-row-end
- e.style['grid-row'] = "-10" should set grid-row-start
- e.style['grid-row'] = "-10" should not set unrelated longhands
- e.style['grid-row'] = "span 2 / auto" should set grid-row-end
- e.style['grid-row'] = "span 2 / auto" should set grid-row-start
- e.style['grid-row'] = "span 2 / auto" should not set unrelated longhands
- e.style['grid-row'] = "span 2" should set grid-row-end
- e.style['grid-row'] = "span 2" should set grid-row-start
- e.style['grid-row'] = "span 2" should not set unrelated longhands
- e.style['grid-row'] = "3 last / auto" should set grid-row-end
- e.style['grid-row'] = "3 last / auto" should set grid-row-start
- e.style['grid-row'] = "3 last / auto" should not set unrelated longhands
- e.style['grid-row'] = "3 last" should set grid-row-end
- e.style['grid-row'] = "3 last" should set grid-row-start
- e.style['grid-row'] = "3 last" should not set unrelated longhands
- e.style['grid-row'] = "span first / auto" should set grid-row-end
- e.style['grid-row'] = "span first / auto" should set grid-row-start
- e.style['grid-row'] = "span first / auto" should not set unrelated longhands
- e.style['grid-row'] = "span first" should set grid-row-end
- e.style['grid-row'] = "span first" should set grid-row-start
- e.style['grid-row'] = "span first" should not set unrelated longhands
- e.style['grid-row'] = "span 2 first / auto" should set grid-row-end
- e.style['grid-row'] = "span 2 first / auto" should set grid-row-start
- e.style['grid-row'] = "span 2 first / auto" should not set unrelated longhands
- e.style['grid-row'] = "span 2 first" should set grid-row-end
- e.style['grid-row'] = "span 2 first" should set grid-row-start
- e.style['grid-row'] = "span 2 first" should not set unrelated longhands
- e.style['grid-row'] = "last / last" should set grid-row-end
- e.style['grid-row'] = "last / last" should set grid-row-start
- e.style['grid-row'] = "last / last" should not set unrelated longhands
- e.style['grid-row'] = "last" should set grid-row-end
- e.style['grid-row'] = "last" should set grid-row-start
- e.style['grid-row'] = "last" should not set unrelated longhands
grid-shorthand-invalid.html 34 / 34 passingChrome 34 / 340 failedClean
34 passing subtests
- e.style['grid'] = "none none" should not set the property value
- e.style['grid'] = "none []" should not set the property value
- e.style['grid'] = "10px" should not set the property value
- e.style['grid'] = "20%" should not set the property value
- e.style['grid'] = "5fr" should not set the property value
- e.style['grid'] = "[a]" should not set the property value
- e.style['grid'] = "[a] 10px" should not set the property value
- e.style['grid'] = "[a] 10px []" should not set the property value
- e.style['grid'] = "[]" should not set the property value
- e.style['grid'] = "10px \"a\"" should not set the property value
- e.style['grid'] = "[] 10px \"a\"" should not set the property value
- e.style['grid'] = "10px [] \"a\"" should not set the property value
- e.style['grid'] = "[] [] \"a\"" should not set the property value
- e.style['grid'] = "\"a\" none" should not set the property value
- e.style['grid'] = "\"a\" 10px 10px" should not set the property value
- e.style['grid'] = "\"a\" [a] 10px" should not set the property value
- e.style['grid'] = "\"a\" [a] 10px [a]" should not set the property value
- e.style['grid'] = "\"a\" [a] [a] 10px" should not set the property value
- e.style['grid'] = "\"a\" 10px [a] [a]" should not set the property value
- e.style['grid'] = "\"a\" [a] [a]" should not set the property value
- e.style['grid'] = "[a] \"a\" [a] [a]" should not set the property value
- e.style['grid'] = "\"a\" \"a\" [a] [a]" should not set the property value
- e.style['grid'] = "\"a\" [a] [a] / none" should not set the property value
- e.style['grid'] = "\"a\" \"a\" [a] [a] / none" should not set the property value
- e.style['grid'] = "none / \"a\"" should not set the property value
- e.style['grid'] = "\"a\" / none" should not set the property value
- e.style['grid'] = "none / [] \"a\"" should not set the property value
- e.style['grid'] = "none / \"a\" []" should not set the property value
- e.style['grid'] = "none / \"a\" [] 10px" should not set the property value
- e.style['grid'] = "auto-flow 100px" should not set the property value
- e.style['grid'] = "auto-flow / auto-flow" should not set the property value
- e.style['grid'] = "auto-flow 1fr / auto-flow 1fr" should not set the property value
- e.style['grid'] = "dense auto-flow / dense auto-flow" should not set the property value
- e.style['grid'] = "auto / auto-flow foo()" should not set the property value
grid-shorthand-serialization.html 141 / 141 passingChrome 141 / 1410 failedClean
141 passing subtests
- e.style.cssText = grid: auto-flow auto / 100px 100px should set grid
- e.style.cssText = grid: auto-flow auto / 100px 100px should set grid-template-areas
- e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid
- e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid-auto-flow
- e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid-auto-rows
- e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid-template-areas
- e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid
- e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid-auto-flow
- e.style.cssText = grid: 30px 40px / 50px 60px; grid-auto-flow: column should set grid-template
- cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-template: 30px 40px / 50px 60px;' in its serialization
- cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-rows: auto;' in its serialization
- cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-columns: auto;' in its serialization
- cssText ('grid: 30px 40px / 50px 60px; grid-auto-flow: column') must contain 'grid-auto-flow: column;' in its serialization
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: 20px should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: 20px should set grid-template
- cssText ('grid: auto-flow / 10px; grid-template-rows: 20px') must contain 'grid: 20px / 10px;' in its serialization
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(2, 20px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(2, 20px) should set grid-template-rows
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(2, 20px) repeat(3, 30px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(2, 20px) repeat(3, 30px) should set grid-template-rows
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(auto-fill, 20px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(auto-fill, 20px) should set grid-template-rows
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(auto-fit, 20px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-rows: repeat(auto-fit, 20px) should set grid-template-rows
- e.style.cssText = grid: 10px / auto; grid-template-columns: 20px should set grid
- e.style.cssText = grid: 10px / auto; grid-template-columns: 20px should set grid-template
- cssText ('grid: 10px / auto; grid-template-columns: 20px') must contain 'grid: 10px / 20px;' in its serialization
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(2, 20px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(2, 20px) should set grid-template-columns
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(2, 20px) repeat(3, 30px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(2, 20px) repeat(3, 30px) should set grid-template-columns
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(auto-fill, 20px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(auto-fill, 20px) should set grid-template-columns
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(auto-fit, 20px) should set grid
- e.style.cssText = grid: auto-flow / 10px; grid-template-columns: repeat(auto-fit, 20px) should set grid-template-columns
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-flow: inherit should set grid
- e.style.cssText = grid: 1px / 2px; grid-auto-flow: row should set grid
- e.style.cssText = grid: none / 2px; grid-auto-flow: row should set grid
- e.style.cssText = grid: 1px / 2px; grid-auto-columns: auto should set grid
- e.style.cssText = grid: 1px / 2px; grid-auto-rows: auto should set grid
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: auto should set grid
- e.style.cssText = grid: 1px / auto-flow; grid-auto-columns: auto should set grid
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: auto should set grid
- e.style.cssText = grid: auto-flow 1px / none; grid-auto-columns: auto should set grid
- e.style.cssText = grid: auto-flow dense / 2px; grid-auto-rows: auto should set grid
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-auto-columns
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-auto-flow
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-auto-rows
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-template-columns
- e.style.cssText = grid: auto-flow 1px / 2px; grid-auto-columns: 3px should set grid-template-rows
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-auto-columns
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-auto-flow
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-auto-rows
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-template-columns
- e.style.cssText = grid: 1px / auto-flow 2px; grid-auto-rows: 3px should set grid-template-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-auto-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-auto-flow
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-auto-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-template-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: 3px should set grid-template-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-auto-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-auto-flow
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-auto-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-template-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(2, 3px) should set grid-template-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-auto-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-auto-flow
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-auto-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-template-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fill, 3px) should set grid-template-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-auto-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-auto-flow
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-auto-rows
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-template-columns
- e.style.cssText = grid: none / auto-flow 1px; grid-template-columns: repeat(auto-fit, 3px) should set grid-template-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-auto-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-auto-flow
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-auto-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-template-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: 3px should set grid-template-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-auto-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-auto-flow
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-auto-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-template-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(2, 3px) should set grid-template-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-auto-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-auto-flow
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-auto-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-template-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fill, 3px) should set grid-template-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-flow
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-rows
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-template-columns
- e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-template-rows
- e.style.cssText = grid-template: none; should set grid
- e.style.cssText = grid-template: none; should set grid-template
- e.style.cssText = grid-template: none; should set grid-template-areas
- e.style.cssText = grid-template: none; should set grid-template-columns
- e.style.cssText = grid-template: none; should set grid-template-rows
- e.style.cssText = grid-template: auto / auto; should set grid
- e.style.cssText = grid-template: auto / auto; should set grid-template
- e.style.cssText = grid-template: auto / auto; should set grid-template-areas
- e.style.cssText = grid-template: auto / auto; should set grid-template-columns
- e.style.cssText = grid-template: auto / auto; should set grid-template-rows
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template-areas
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template-columns
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template-rows
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template-areas
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template-columns
- e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template-rows
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid-template-areas
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid-template-columns
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid-template-rows
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 1fr); grid-template-areas: "one two" "three four" should set grid
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 1fr); grid-template-areas: "one two" "three four" should set grid-template-areas
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 1fr); grid-template-areas: "one two" "three four" should set grid-template-columns
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 1fr); grid-template-areas: "one two" "three four" should set grid-template-rows
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fill, 3px); grid-template-areas: "one two" "three four" should set grid
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fill, 3px); grid-template-areas: "one two" "three four" should set grid-template-areas
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fill, 3px); grid-template-areas: "one two" "three four" should set grid-template-columns
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fill, 3px); grid-template-areas: "one two" "three four" should set grid-template-rows
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fit, 3px); grid-template-areas: "one two" "three four" should set grid
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fit, 3px); grid-template-areas: "one two" "three four" should set grid-template-areas
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fit, 3px); grid-template-areas: "one two" "three four" should set grid-template-columns
- e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(auto-fit, 3px); grid-template-areas: "one two" "three four" should set grid-template-rows
grid-shorthand-valid.html 49 / 49 passingChrome 49 / 490 failedClean
49 passing subtests
- e.style['grid'] = "none" should set the property value
- e.style['grid'] = "none / none" should set the property value
- e.style['grid'] = "auto / auto" should set the property value
- e.style['grid'] = "none / [a] 0px" should set the property value
- e.style['grid'] = "none / [] 0px" should set the property value
- e.style['grid'] = "[a] 10px / auto" should set the property value
- e.style['grid'] = "[a] 10px / none" should set the property value
- e.style['grid'] = "[] 10px [] / [] auto []" should set the property value
- e.style['grid'] = "[a] \"a\" 10px" should set the property value
- e.style['grid'] = "[a] \"a\" 10px []" should set the property value
- e.style['grid'] = "\"a\" 10px" should set the property value
- e.style['grid'] = "[] \"a\" 10px" should set the property value
- e.style['grid'] = "[a] \"a\" 10px [a]" should set the property value
- e.style['grid'] = "\"a\"" should set the property value
- e.style['grid'] = "\"a\" auto" should set the property value
- e.style['grid'] = "\"a a a\"" should set the property value
- e.style['grid'] = "\"a\" / 10px" should set the property value
- e.style['grid'] = "\"a\" / 20%" should set the property value
- e.style['grid'] = "\"a\" / 5fr" should set the property value
- e.style['grid'] = "[a] \"a\"" should set the property value
- e.style['grid'] = "[a] \"a\" [a]" should set the property value
- e.style['grid'] = "[] \"a\"" should set the property value
- e.style['grid'] = "\"a\" [] [] \"b\"" should set the property value
- e.style['grid'] = "\"a\" [] \"b\"" should set the property value
- e.style['grid'] = "\"a\" [a] [b] \"b\"" should set the property value
- e.style['grid'] = "\"a\" [a] \"b\"" should set the property value
- e.style['grid'] = "\"a\" / 0" should set the property value
- e.style['grid'] = "\"a\" 10px / 10px" should set the property value
- e.style['grid'] = "\"a\" [a] \"b\" 10px" should set the property value
- e.style['grid'] = "\"a\" [a] \"b\" 10px [a]" should set the property value
- e.style['grid'] = "\"a\" [a] [a] \"b\" 10px" should set the property value
- e.style['grid'] = "\"a\" [a] [] \"b\" 10px" should set the property value
- e.style['grid'] = "\"a\" 10px [a] \"b\" [a]" should set the property value
- e.style['grid'] = "\"a\" [a] \"b\" [a]" should set the property value
- e.style['grid'] = "[a] \"a\" [a] \"b\" [a]" should set the property value
- e.style['grid'] = "\"a\" \"a\" [a] \"b\" [a]" should set the property value
- e.style['grid'] = "\"a\" [a] \"b\" [a] / 0" should set the property value
- e.style['grid'] = "\"a\" \"a\" [a] [a] \"b\" / auto" should set the property value
- e.style['grid'] = "100px / auto-flow dense 100px" should set the property value
- e.style['grid'] = "auto-flow dense 1fr / 100px" should set the property value
- e.style['grid'] = "100px / dense auto-flow 100px" should set the property value
- e.style['grid'] = "dense auto-flow 1fr / 100px" should set the property value
- e.style['grid'] = "100px / auto-flow 100px" should set the property value
- e.style['grid'] = "auto-flow 1fr / 100px" should set the property value
- e.style['grid'] = "none / auto-flow 100px" should set the property value
- e.style['grid'] = "auto-flow 1fr / none" should set the property value
- e.style['grid'] = "auto / auto-flow 100px" should set the property value
- e.style['grid'] = "auto-flow 1fr / auto" should set the property value
- e.style['grid'] = "1fr / 1fr" should set the property value
grid-shorthand.html 63 / 63 passingChrome 63 / 630 failedClean
63 passing subtests
- e.style['grid'] = "none" should set grid-auto-columns
- e.style['grid'] = "none" should set grid-auto-flow
- e.style['grid'] = "none" should set grid-auto-rows
- e.style['grid'] = "none" should set grid-template-areas
- e.style['grid'] = "none" should set grid-template-columns
- e.style['grid'] = "none" should set grid-template-rows
- e.style['grid'] = "none" should not set unrelated longhands
- e.style['grid'] = "10px / 20%" should set grid-auto-columns
- e.style['grid'] = "10px / 20%" should set grid-auto-flow
- e.style['grid'] = "10px / 20%" should set grid-auto-rows
- e.style['grid'] = "10px / 20%" should set grid-template-areas
- e.style['grid'] = "10px / 20%" should set grid-template-columns
- e.style['grid'] = "10px / 20%" should set grid-template-rows
- e.style['grid'] = "10px / 20%" should not set unrelated longhands
- e.style['grid'] = "none / 10px" should set grid-auto-columns
- e.style['grid'] = "none / 10px" should set grid-auto-flow
- e.style['grid'] = "none / 10px" should set grid-auto-rows
- e.style['grid'] = "none / 10px" should set grid-template-areas
- e.style['grid'] = "none / 10px" should set grid-template-columns
- e.style['grid'] = "none / 10px" should set grid-template-rows
- e.style['grid'] = "none / 10px" should not set unrelated longhands
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-auto-columns
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-auto-flow
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-auto-rows
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-template-areas
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-template-columns
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-template-rows
- e.style['grid'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should not set unrelated longhands
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-auto-columns
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-auto-flow
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-auto-rows
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-template-areas
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-template-columns
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-template-rows
- e.style['grid'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should not set unrelated longhands
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-auto-columns
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-auto-flow
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-auto-rows
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-template-areas
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-template-columns
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-template-rows
- e.style['grid'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should not set unrelated longhands
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-auto-columns
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-auto-flow
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-auto-rows
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-areas
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-columns
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-rows
- e.style['grid'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should not set unrelated longhands
- e.style['grid'] = "10px / auto-flow dense 20px" should set grid-auto-columns
- e.style['grid'] = "10px / auto-flow dense 20px" should set grid-auto-flow
- e.style['grid'] = "10px / auto-flow dense 20px" should set grid-auto-rows
- e.style['grid'] = "10px / auto-flow dense 20px" should set grid-template-areas
- e.style['grid'] = "10px / auto-flow dense 20px" should set grid-template-columns
- e.style['grid'] = "10px / auto-flow dense 20px" should set grid-template-rows
- e.style['grid'] = "10px / auto-flow dense 20px" should not set unrelated longhands
- e.style['grid'] = "auto-flow dense 30px / 40px" should set grid-auto-columns
- e.style['grid'] = "auto-flow dense 30px / 40px" should set grid-auto-flow
- e.style['grid'] = "auto-flow dense 30px / 40px" should set grid-auto-rows
- e.style['grid'] = "auto-flow dense 30px / 40px" should set grid-template-areas
- e.style['grid'] = "auto-flow dense 30px / 40px" should set grid-template-columns
- e.style['grid'] = "auto-flow dense 30px / 40px" should set grid-template-rows
- e.style['grid'] = "auto-flow dense 30px / 40px" should not set unrelated longhands
grid-template-areas-computed.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Property grid-template-areas value 'none'
- Property grid-template-areas value '"first"'
- Property grid-template-areas value '"first second"'
- Property grid-template-areas value '"1st 2nd 3rd"'
- Property grid-template-areas value '"first second" "third fourth"'
- Property grid-template-areas value '"first second" "third ." "1st 2nd" "3rd 4th"'
- Property grid-template-areas value '" a b "'
- Property grid-template-areas value '"c d"'
- Property grid-template-areas value '"first ..."'
grid-template-areas-invalid.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- e.style['grid-template-areas'] = "auto" should not set the property value
- e.style['grid-template-areas'] = "none \"first\"" should not set the property value
- e.style['grid-template-areas'] = "\"first\" none" should not set the property value
- e.style['grid-template-areas'] = "\"\"" should not set the property value
- e.style['grid-template-areas'] = "\" \"" should not set the property value
- e.style['grid-template-areas'] = "\".\" \"\"" should not set the property value
- e.style['grid-template-areas'] = "\".\" \" \"" should not set the property value
- e.style['grid-template-areas'] = "\"first\" \"\"" should not set the property value
- e.style['grid-template-areas'] = "\"first\" \"\" \"second\"" should not set the property value
- e.style['grid-template-areas'] = "\"first\" \" \"" should not set the property value
- e.style['grid-template-areas'] = "\"\" none" should not set the property value
grid-template-areas-one-cell.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- "grid-template-areas: 'a';" should be valid.
- "grid-template-areas: '.';" should be valid.
- "grid-template-areas: '';" should be invalid.
- "grid-template-areas: '' '';" should be invalid.
- "grid-template-areas: '$';" should be invalid.
- "grid-template-areas: ' ';" should be invalid.
grid-template-areas-valid.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- e.style['grid-template-areas'] = "none" should set the property value
- e.style['grid-template-areas'] = "\"first\"" should set the property value
- e.style['grid-template-areas'] = "\"first second\"" should set the property value
- e.style['grid-template-areas'] = "\"1st 2nd 3rd\"" should set the property value
- e.style['grid-template-areas'] = "\"first second\" \"third fourth\"" should set the property value
- e.style['grid-template-areas'] = "\"first second\" \"third .\" \"1st 2nd\" \"3rd 4th\"" should set the property value
- e.style['grid-template-areas'] = "\" a \t b \"" should set the property value
- e.style['grid-template-areas'] = "\"c\td\"" should set the property value
- e.style['grid-template-areas'] = "\"first ...\"" should set the property value
grid-template-columns-computed-nogrid.html 32 / 32 passingChrome 32 / 320 failedClean
32 passing subtests
- Property grid-template-columns value 'none'
- Property grid-template-columns value '1px'
- Property grid-template-columns value '1px [a]'
- Property grid-template-columns value '1px [a] 2px'
- Property grid-template-columns value '[a] 1px'
- Property grid-template-columns value '[a] 1px [b]'
- Property grid-template-columns value '1px repeat(1, 2px) 3px'
- Property grid-template-columns value '1px repeat(auto-fill, 2px) 3px'
- Property grid-template-columns value '1px repeat(auto-fit, 2px) 3px'
- Property grid-template-columns value '1px [a] repeat(1, 2px 3px) [b] 4px'
- Property grid-template-columns value '1px [a] repeat(2, 2px 3px) [b] 4px'
- Property grid-template-columns value '1px [a] repeat(auto-fill, 2px 3px) [b] 4px'
- Property grid-template-columns value '1px [a] repeat(auto-fit, 2px 3px) [b] 4px'
- Property grid-template-columns value '1px [a] repeat(1, [b] 2px [c]) [d] 3px'
- Property grid-template-columns value '1px [a] repeat(auto-fill, [b] 2px [c]) [d] 3px'
- Property grid-template-columns value '1px [a] repeat(auto-fit, [b] 2px [c]) [d] 3px'
- Property grid-template-columns value '[a] 1px repeat(1, 2px [b] 3px) 4px [d]'
- Property grid-template-columns value '[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]'
- Property grid-template-columns value '[a] 1px 4px [d]'
- Property grid-template-columns value '[a] 1px repeat(auto-fill, 2px [b] 3px) [d] 4px'
- Property grid-template-columns value '[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]'
- Property grid-template-rows value '100% [a] repeat(1, [b] 200% [c]) [d] 300%'
- Property grid-template-rows value '100% [a] repeat(auto-fill, [b] 200% [c]) [d] 300%'
- Property grid-template-rows value '100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%'
- Property grid-template-columns value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]'
- Property grid-template-columns value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]'
- Property grid-template-columns value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]'
- Property grid-template-columns value 'repeat(1, 2px [a] 3px) [b] repeat(auto-fill, [c] 200% [d]) [e] 300%'
- Property grid-template-columns value '[a] repeat(auto-fill, [b] 200% [c]) repeat(1, 2px [d] 3px) [e] 300%'
- Property grid-template-columns value 'repeat(1, [a] 2px [b] 3px) [b] repeat(auto-fill, [c] 200% [d]) [e] 300%'
- Property grid-template-columns value '[a] repeat(auto-fill, [b] 200% [c]) repeat(1, 2px [d] 3px [e]) [f] 300%'
- Property grid-template-columns value '[a] 1px [b c] repeat(auto-fill, [d] 200% [e f]) [g] 2px repeat(1, 3px [d e] 4px [e f]) [g] 300% [h]'
grid-template-columns-computed-withcontent.html 2 / 30 passingChrome 30 / 3028 failedWith failures
- ¶
FAILProperty grid-template-columns value 'none'
assert_equals: expected "300px" but got "none"
- ¶
FAILProperty grid-template-columns value '20%'
assert_equals: expected "60px" but got "20%"
- ¶
FAILProperty grid-template-columns value 'calc(30% + 40px)'
assert_equals: expected "130px" but got "calc(30% + 40px)"
- ¶
FAILProperty grid-template-columns value '5fr'
assert_equals: expected "300px" but got "5fr"
- ¶
FAILProperty grid-template-columns value 'min-content'
assert_equals: expected "30px" but got "min-content"
- ¶
FAILProperty grid-template-columns value 'max-content'
assert_equals: expected "30px" but got "max-content"
- ¶
FAILProperty grid-template-columns value 'auto'
assert_equals: expected "300px" but got "auto"
- ¶
FAILProperty grid-template-columns value 'minmax(10px, auto)'
assert_equals: expected "300px" but got "minmax(10px, auto)"
- ¶
FAILProperty grid-template-columns value 'minmax(20%, max-content)'
assert_equals: expected "60px" but got "minmax(20%, max-content)"
- ¶
FAILProperty grid-template-columns value 'minmax(min-content, calc(-0.5em + 10px))'
assert_equals: expected "30px" but got "minmax(min-content, 0px)"
- ¶
FAILProperty grid-template-columns value 'minmax(auto, 0)'
assert_equals: expected "30px" but got "minmax(auto, 0px)"
- ¶
FAILProperty grid-template-columns value 'fit-content(70px)'
assert_equals: expected "30px" but got "fit-content(70px)"
- ¶
FAILProperty grid-template-columns value 'fit-content(20%)'
assert_equals: expected "30px" but got "fit-content(20%)"
- ¶
FAILProperty grid-template-columns value 'fit-content(calc(-0.5em + 10px))'
assert_equals: expected "30px" but got "fit-content(0px)"
- ¶
FAILProperty grid-template-columns value 'repeat(1, 10px)'
assert_equals: expected "10px" but got "repeat(1, 10px)"
- ¶
FAILProperty grid-template-columns value 'repeat(1, [one two] 20%)'
assert_equals: expected "[one two] 60px" but got "repeat(1, [one two] 20%)"
- ¶
FAILProperty grid-template-columns value 'repeat(2, minmax(10px, auto))'
assert_equals: expected "160px 140px" but got "repeat(2, minmax(10px, auto))"
- ¶
FAILProperty grid-template-columns value 'repeat(2, fit-content(20%) [three four] 30px 40px [five six])'
assert_equals: expected "30px [three four] 30px 40px [five six] 0px [three four] 30px 40px [five six]" but got "repeat(2, fit-content(20%) [three four] 30px 40px [five six])"
- ¶
FAILProperty grid-template-columns value 'min-content repeat(5, minmax(10px, auto))'
assert_equals: expected "30px 54px 54px 54px 54px 54px" but got "min-content repeat(5, minmax(10px, auto))"
- ¶
FAILProperty grid-template-columns value '[] 150px [] 1fr []'
assert_equals: expected "150px 150px" but got "150px 1fr"
- ¶
FAILProperty grid-template-columns value 'repeat(auto-fill, 200px)'
assert_equals: expected "200px" but got "repeat(auto-fill, 200px)"
- ¶
FAILProperty grid-template-columns value 'repeat(auto-fit, [one] 20%)'
assert_equals: expected "[one] 60px [one] 0px [one] 0px [one] 0px [one] 0px" but got "repeat(auto-fit, [one] 20%)"
- ¶
FAILProperty grid-template-columns value 'repeat(auto-fill, minmax(100px, 5fr) [two])'
assert_equals: expected "100px [two] 100px [two] 100px [two]" but got "repeat(auto-fill, minmax(100px, 5fr) [two])"
- ¶
FAILProperty grid-template-columns value 'repeat(auto-fit, [three] minmax(max-content, 6em) [four])'
assert_equals: expected "[three] 240px [four]" but got "repeat(auto-fit, [three] minmax(max-content, 240px) [four])"
- ¶
FAILProperty grid-template-columns value '[a] 21px [b] repeat(auto-fill, [c] 22px [d] 23px [e]) [f] 24px [g]'
assert_equals: expected "[a] 21px [b c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e f] 24px [g]" but got "[a] 21px [b] repeat(auto-fill, [c] 22px [d] 23px [e]) [f] 24px [g]"
- ¶
FAILProperty grid-template-columns value '[a] 21px [b c] repeat(auto-fill, [d e] 22px [f g h] 23px [i j k l]) [m n] 24px [o]'
assert_equals: expected "[a] 21px [b c d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l m n] 24px [o]" but got "[a] 21px [b c] repeat(auto-fill, [d e] 22px [f g h] 23px [i j k l]) [m n] 24px [o]"
- ¶
FAILProperty grid-template-columns value '[a] repeat(2, [b] 20px [c d] 21px [e f g]) [h i] repeat(auto-fit, [j] 22px [k l m] 23px [n o p q]) [r s]'
assert_equals: expected "[a b] 20px [c d] 21px [e f g b] 20px [c d] 21px [e f g h i j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q r s]" but got "[a] repeat(2, [b] 20px [c d] 21px [e f g]) [h i] repeat(auto-fit, [j] 22px [k l m] 23px [n o p q]) [r s]"
- ¶
FAILProperty grid-template-columns value '[one] repeat(2, minmax(50px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(200px, auto)) [six]'
assert_equals: expected "[one] 50px 50px [two] 30px [three] 10px 40px [four five] 200px 200px [six]" but got "[one] repeat(2, minmax(50px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(200px, auto)) [six]"
2 passing subtests
- Property grid-template-columns value 'calc(-0.5em + 10px)'
- Property grid-template-columns value 'calc(0.5em + 10px)'
grid-template-columns-computed.html 6 / 25 passingChrome 25 / 2519 failedWith failures
- ¶
FAILProperty grid-template-columns value '1px repeat(1, 2px) 3px'
assert_equals: expected "1px 2px 3px" but got "1px repeat(1, 2px) 3px"
- ¶
FAILProperty grid-template-columns value '1px repeat(auto-fill, 2px) 3px'
assert_equals: expected "1px 2px 3px" but got "1px repeat(auto-fill, 2px) 3px"
- ¶
FAILProperty grid-template-columns value '1px repeat(auto-fit, 2px) 3px'
assert_equals: expected "1px 0px 3px" but got "1px repeat(auto-fit, 2px) 3px"
- ¶
FAILProperty grid-template-columns value '1px [a] repeat(1, 2px 3px) [b] 4px'
assert_equals: expected "1px [a] 2px 3px [b] 4px" but got "1px [a] repeat(1, 2px 3px) [b] 4px"
- ¶
FAILProperty grid-template-columns value '1px [a] repeat(auto-fill, 2px 3px) [b] 4px'
assert_equals: expected "1px [a] 2px 3px [b] 4px" but got "1px [a] repeat(auto-fill, 2px 3px) [b] 4px"
- ¶
FAILProperty grid-template-columns value '1px [a] repeat(auto-fit, 2px 3px) [b] 4px'
assert_equals: expected "1px [a] 0px 0px [b] 4px" but got "1px [a] repeat(auto-fit, 2px 3px) [b] 4px"
- ¶
FAILProperty grid-template-columns value '1px [a] repeat(1, [b] 2px [c]) [d] 3px'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "1px [a] repeat(1, [b] 2px [c]) [d] 3px"
- ¶
FAILProperty grid-template-columns value '1px [a] repeat(auto-fill, [b] 2px [c]) [d] 3px'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "1px [a] repeat(auto-fill, [b] 2px [c]) [d] 3px"
- ¶
FAILProperty grid-template-columns value '1px [a] repeat(auto-fit, [b] 2px [c]) [d] 3px'
assert_equals: expected "1px [a b] 0px [c d] 3px" but got "1px [a] repeat(auto-fit, [b] 2px [c]) [d] 3px"
- ¶
FAILProperty grid-template-columns value '[a] 1px repeat(1, 2px [b] 3px) 4px [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(1, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-columns value '[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-columns value '[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]'
assert_equals: expected "[a] 1px 0px [b] 0px 4px [d]" but got "[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-columns value '100% [a] repeat(1, [b] 200% [c]) [d] 300%'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "100% [a] repeat(1, [b] 200% [c]) [d] 300%"
- ¶
FAILProperty grid-template-columns value '100% [a] repeat(auto-fill, [b] 200% [c]) [d] 300%'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "100% [a] repeat(auto-fill, [b] 200% [c]) [d] 300%"
- ¶
FAILProperty grid-template-columns value '100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%'
assert_equals: expected "1px [a b] 0px [c d] 3px" but got "100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%"
- ¶
FAILProperty grid-template-columns value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(1, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-columns value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-columns value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]'
assert_equals: expected "[a] 1px 0px [b] 0px 4px [d]" but got "[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-columns value 'repeat(calc(1 + 3 * sign(100em - 1px)), 150px)'
assert_equals: expected "150px 150px 150px 150px" but got "repeat(4, 150px)"
6 passing subtests
- Property grid-template-columns value 'none'
- Property grid-template-columns value '1px'
- Property grid-template-columns value '1px [a]'
- Property grid-template-columns value '1px [a] 2px'
- Property grid-template-columns value '[a] 1px'
- Property grid-template-columns value '[a] 1px [b]'
grid-template-columns-crash.html none reportedChrome —0 failedClean
/css/css-grid/parsing/grid-template-columns-crash.html PASS none reported
No subtests were reported.
grid-template-columns-invalid.html 42 / 42 passingChrome 42 / 420 failedClean
42 passing subtests
- e.style['grid-template-columns'] = "-10px" should not set the property value
- e.style['grid-template-columns'] = "-20%" should not set the property value
- e.style['grid-template-columns'] = "-5fr" should not set the property value
- e.style['grid-template-columns'] = "minmax(5fr, calc(0.5em + 10px))" should not set the property value
- e.style['grid-template-columns'] = "minmax(-10px, auto)" should not set the property value
- e.style['grid-template-columns'] = "minmax(-20%, max-content)" should not set the property value
- e.style['grid-template-columns'] = "minmax(min-content, -20%)" should not set the property value
- e.style['grid-template-columns'] = "fit-content(-10px)" should not set the property value
- e.style['grid-template-columns'] = "fit-content(-20%)" should not set the property value
- e.style['grid-template-columns'] = "[one] 10px [two three] repeat(20%) [four five six] 3fr [seven]" should not set the property value
- e.style['grid-template-columns'] = "[one]" should not set the property value
- e.style['grid-template-columns'] = "[one] 10px [two] [three]" should not set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, -10px)" should not set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, 10px) repeat(auto-fit, 20%)" should not set the property value
- e.style['grid-template-columns'] = "[auto] 1px" should not set the property value
- e.style['grid-template-columns'] = "-5fr repeat(auto-fill, auto)" should not set the property value
- e.style['grid-template-columns'] = "-10px repeat(auto-fill, min-content)" should not set the property value
- e.style['grid-template-columns'] = "-20% repeat(auto-fit, max-content)" should not set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, fit-content)" should not set the property value
- e.style['grid-template-columns'] = "auto repeat(auto-fill, auto) auto" should not set the property value
- e.style['grid-template-columns'] = "min-content repeat(auto-fill, auto) min-content" should not set the property value
- e.style['grid-template-columns'] = "max-content repeat(auto-fill, auto) max-content" should not set the property value
- e.style['grid-template-columns'] = "fit-content(200px) repeat(auto-fill, auto) fit-content(200px)" should not set the property value
- e.style['grid-template-columns'] = "auto repeat(auto-fill, auto) repeat(5, auto)" should not set the property value
- e.style['grid-template-columns'] = "auto repeat(auto-fill, min-content) auto" should not set the property value
- e.style['grid-template-columns'] = "min-content repeat(auto-fill, min-content) min-content" should not set the property value
- e.style['grid-template-columns'] = "max-content repeat(auto-fill, min-content) max-content" should not set the property value
- e.style['grid-template-columns'] = "fit-content(200px) repeat(auto-fill, min-content) fit-content(200px)" should not set the property value
- e.style['grid-template-columns'] = "min-content repeat(auto-fill, min-content) repeat(5, min-content)" should not set the property value
- e.style['grid-template-columns'] = "auto repeat(auto-fill, max-content) auto" should not set the property value
- e.style['grid-template-columns'] = "min-content repeat(auto-fill, max-content) min-content" should not set the property value
- e.style['grid-template-columns'] = "max-content repeat(auto-fill, max-content) max-content" should not set the property value
- e.style['grid-template-columns'] = "fit-content(200px) repeat(auto-fill, max-content) fit-content(200px)" should not set the property value
- e.style['grid-template-columns'] = "max-content repeat(auto-fill, max-content) repeat(5, max-content)" should not set the property value
- e.style['grid-template-columns'] = "auto repeat(auto-fill, fit-content(200px)) auto" should not set the property value
- e.style['grid-template-columns'] = "min-content repeat(auto-fill, fit-content(200px)) min-content" should not set the property value
- e.style['grid-template-columns'] = "max-content repeat(auto-fill, fit-content(200px)) max-content" should not set the property value
- e.style['grid-template-columns'] = "fit-content(200px) repeat(auto-fill, fit-content(200px)) fit-content(200px)" should not set the property value
- e.style['grid-template-columns'] = "fit-content(200px) repeat(auto-fill, fit-content(200px)) repeat(5, fit-content(200px))" should not set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, minmax(fit-content(200px), fit-content(300px)))" should not set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, minmax(fit-content(200px), auto))" should not set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, minmax(max-content, fit-content(200px)))" should not set the property value
grid-template-columns-valid.html 34 / 34 passingChrome 34 / 340 failedClean
34 passing subtests
- e.style['grid-template-columns'] = "none" should set the property value
- e.style['grid-template-columns'] = "10px" should set the property value
- e.style['grid-template-columns'] = "20%" should set the property value
- e.style['grid-template-columns'] = "calc(-0.5em + 10px)" should set the property value
- e.style['grid-template-columns'] = "calc(0.5em + 10px)" should set the property value
- e.style['grid-template-columns'] = "calc(30% + 40vw)" should set the property value
- e.style['grid-template-columns'] = "5fr" should set the property value
- e.style['grid-template-columns'] = "min-content" should set the property value
- e.style['grid-template-columns'] = "max-content" should set the property value
- e.style['grid-template-columns'] = "auto" should set the property value
- e.style['grid-template-columns'] = "minmax(10px, auto)" should set the property value
- e.style['grid-template-columns'] = "minmax(20%, max-content)" should set the property value
- e.style['grid-template-columns'] = "minmax(calc(-0.5em + 10px), min-content)" should set the property value
- e.style['grid-template-columns'] = "minmax(calc(0.5em + 10px), 5fr)" should set the property value
- e.style['grid-template-columns'] = "minmax(calc(30% + 40vw), 10px)" should set the property value
- e.style['grid-template-columns'] = "minmax(min-content, 20%)" should set the property value
- e.style['grid-template-columns'] = "minmax(max-content, calc(-0.5em + 10px))" should set the property value
- e.style['grid-template-columns'] = "minmax(auto, calc(0.5em + 10px))" should set the property value
- e.style['grid-template-columns'] = "fit-content(10px)" should set the property value
- e.style['grid-template-columns'] = "fit-content(20%)" should set the property value
- e.style['grid-template-columns'] = "fit-content(calc(-0.5em + 10px))" should set the property value
- e.style['grid-template-columns'] = "fit-content(calc(0.5em + 10px))" should set the property value
- e.style['grid-template-columns'] = "fit-content(calc(30% + 40vw))" should set the property value
- e.style['grid-template-columns'] = "repeat(1, [] 10px [])" should set the property value
- e.style['grid-template-columns'] = "repeat(1, [one two] 20%)" should set the property value
- e.style['grid-template-columns'] = "repeat(2, minmax(10px, auto))" should set the property value
- e.style['grid-template-columns'] = "repeat(2, fit-content(20%) [three four] 30px 40px [five six])" should set the property value
- e.style['grid-template-columns'] = "min-content repeat(5, minmax(10px, auto))" should set the property value
- e.style['grid-template-columns'] = "[] 150px [] 1fr []" should set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, 10px)" should set the property value
- e.style['grid-template-columns'] = "repeat(auto-fit, [one] 20%)" should set the property value
- e.style['grid-template-columns'] = "repeat(auto-fill, minmax(30px, 5fr) [two])" should set the property value
- e.style['grid-template-columns'] = "repeat(auto-fit, [three] minmax(max-content, 6em) [four])" should set the property value
- e.style['grid-template-columns'] = "[one] repeat(2, minmax(10px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(10px, auto)) [six]" should set the property value
grid-template-important.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- grid-template followed by !important
grid-template-node-not-connected.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- grid-template-node-not-connected
grid-template-rows-computed-nogrid.html 24 / 24 passingChrome 24 / 240 failedClean
24 passing subtests
- Property grid-template-rows value 'none'
- Property grid-template-rows value '1px'
- Property grid-template-rows value '1px [a]'
- Property grid-template-rows value '1px [a] 2px'
- Property grid-template-rows value '[a] 1px'
- Property grid-template-rows value '[a] 1px [b]'
- Property grid-template-rows value '1px repeat(1, 2px) 3px'
- Property grid-template-rows value '1px repeat(auto-fill, 2px) 3px'
- Property grid-template-rows value '1px repeat(auto-fit, 2px) 3px'
- Property grid-template-rows value '1px [a] repeat(1, 2px 3px) [b] 4px'
- Property grid-template-rows value '1px [a] repeat(auto-fill, 2px 3px) [b] 4px'
- Property grid-template-rows value '1px [a] repeat(auto-fit, 2px 3px) [b] 4px'
- Property grid-template-rows value '1px [a] repeat(1, [b] 2px [c]) [d] 3px'
- Property grid-template-rows value '1px [a] repeat(auto-fill, [b] 2px [c]) [d] 3px'
- Property grid-template-rows value '1px [a] repeat(auto-fit, [b] 2px [c]) [d] 3px'
- Property grid-template-rows value '[a] 1px repeat(1, 2px [b] 3px) 4px [d]'
- Property grid-template-rows value '[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]'
- Property grid-template-rows value '[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]'
- Property grid-template-rows value '100% [a] repeat(1, [b] 200% [c]) [d] 300%'
- Property grid-template-rows value '100% [a] repeat(auto-fill, [b] 200% [c]) [d] 300%'
- Property grid-template-rows value '100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%'
- Property grid-template-rows value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]'
- Property grid-template-rows value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]'
- Property grid-template-rows value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]'
grid-template-rows-computed-withcontent.html 2 / 27 passingChrome 27 / 2725 failedWith failures
- ¶
FAILProperty grid-template-rows value 'none'
assert_equals: expected "600px" but got "none"
- ¶
FAILProperty grid-template-rows value '20%'
assert_equals: expected "120px" but got "20%"
- ¶
FAILProperty grid-template-rows value 'calc(30% + 40px)'
assert_equals: expected "220px" but got "calc(30% + 40px)"
- ¶
FAILProperty grid-template-rows value '5fr'
assert_equals: expected "600px" but got "5fr"
- ¶
FAILProperty grid-template-rows value 'min-content'
assert_equals: expected "60px" but got "min-content"
- ¶
FAILProperty grid-template-rows value 'max-content'
assert_equals: expected "60px" but got "max-content"
- ¶
FAILProperty grid-template-rows value 'auto'
assert_equals: expected "600px" but got "auto"
- ¶
FAILProperty grid-template-rows value 'minmax(10px, auto)'
assert_equals: expected "600px" but got "minmax(10px, auto)"
- ¶
FAILProperty grid-template-rows value 'minmax(20%, max-content)'
assert_equals: expected "120px" but got "minmax(20%, max-content)"
- ¶
FAILProperty grid-template-rows value 'minmax(min-content, calc(-0.5em + 10px))'
assert_equals: expected "60px" but got "minmax(min-content, 0px)"
- ¶
FAILProperty grid-template-rows value 'minmax(auto, 0)'
assert_equals: expected "60px" but got "minmax(auto, 0px)"
- ¶
FAILProperty grid-template-rows value 'fit-content(70px)'
assert_equals: expected "60px" but got "fit-content(70px)"
- ¶
FAILProperty grid-template-rows value 'fit-content(20%)'
assert_equals: expected "60px" but got "fit-content(20%)"
- ¶
FAILProperty grid-template-rows value 'fit-content(calc(-0.5em + 10px))'
assert_equals: expected "60px" but got "fit-content(0px)"
- ¶
FAILProperty grid-template-rows value 'repeat(1, 10px)'
assert_equals: expected "10px" but got "repeat(1, 10px)"
- ¶
FAILProperty grid-template-rows value 'repeat(1, [one two] 20%)'
assert_equals: expected "[one two] 120px" but got "repeat(1, [one two] 20%)"
- ¶
FAILProperty grid-template-rows value 'repeat(2, minmax(10px, auto))'
assert_equals: expected "325px 275px" but got "repeat(2, minmax(10px, auto))"
- ¶
FAILProperty grid-template-rows value 'repeat(2, fit-content(20%) [three four] 30px 40px [five six])'
assert_equals: expected "60px [three four] 30px 40px [five six] 0px [three four] 30px 40px [five six]" but got "repeat(2, fit-content(20%) [three four] 30px 40px [five six])"
- ¶
FAILProperty grid-template-rows value 'min-content repeat(5, minmax(10px, auto))'
assert_equals: expected "60px 108px 108px 108px 108px 108px" but got "min-content repeat(5, minmax(10px, auto))"
- ¶
FAILProperty grid-template-rows value '[] 150px [] 1fr []'
assert_equals: expected "150px 450px" but got "150px 1fr"
- ¶
FAILProperty grid-template-rows value 'repeat(auto-fill, 200px)'
assert_equals: expected "200px 200px 200px" but got "repeat(auto-fill, 200px)"
- ¶
FAILProperty grid-template-rows value 'repeat(auto-fit, [one] 20%)'
assert_equals: expected "[one] 120px [one] 0px [one] 0px [one] 0px [one] 0px" but got "repeat(auto-fit, [one] 20%)"
- ¶
FAILProperty grid-template-rows value 'repeat(auto-fill, minmax(100px, 5fr) [two])'
assert_equals: expected "100px [two] 100px [two] 100px [two] 100px [two] 100px [two] 100px [two]" but got "repeat(auto-fill, minmax(100px, 5fr) [two])"
- ¶
FAILProperty grid-template-rows value 'repeat(auto-fit, [three] minmax(max-content, 6em) [four])'
assert_equals: expected "[three] 240px [four three] 0px [four]" but got "repeat(auto-fit, [three] minmax(max-content, 240px) [four])"
- ¶
FAILProperty grid-template-rows value '[one] repeat(2, minmax(50px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(200px, auto)) [six]'
assert_equals: expected "[one] 50px 50px [two] 30px [three] 10px 10px 10px 40px [four five] 200px 200px [six]" but got "[one] repeat(2, minmax(50px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(200px, auto)) [six]"
2 passing subtests
- Property grid-template-rows value 'calc(-0.5em + 10px)'
- Property grid-template-rows value 'calc(0.5em + 10px)'
grid-template-rows-computed.html 6 / 24 passingChrome 24 / 2418 failedWith failures
- ¶
FAILProperty grid-template-rows value '1px repeat(1, 2px) 3px'
assert_equals: expected "1px 2px 3px" but got "1px repeat(1, 2px) 3px"
- ¶
FAILProperty grid-template-rows value '1px repeat(auto-fill, 2px) 3px'
assert_equals: expected "1px 2px 3px" but got "1px repeat(auto-fill, 2px) 3px"
- ¶
FAILProperty grid-template-rows value '1px repeat(auto-fit, 2px) 3px'
assert_equals: expected "1px 0px 3px" but got "1px repeat(auto-fit, 2px) 3px"
- ¶
FAILProperty grid-template-rows value '1px [a] repeat(1, 2px 3px) [b] 4px'
assert_equals: expected "1px [a] 2px 3px [b] 4px" but got "1px [a] repeat(1, 2px 3px) [b] 4px"
- ¶
FAILProperty grid-template-rows value '1px [a] repeat(auto-fill, 2px 3px) [b] 4px'
assert_equals: expected "1px [a] 2px 3px [b] 4px" but got "1px [a] repeat(auto-fill, 2px 3px) [b] 4px"
- ¶
FAILProperty grid-template-rows value '1px [a] repeat(auto-fit, 2px 3px) [b] 4px'
assert_equals: expected "1px [a] 0px 0px [b] 4px" but got "1px [a] repeat(auto-fit, 2px 3px) [b] 4px"
- ¶
FAILProperty grid-template-rows value '1px [a] repeat(1, [b] 2px [c]) [d] 3px'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "1px [a] repeat(1, [b] 2px [c]) [d] 3px"
- ¶
FAILProperty grid-template-rows value '1px [a] repeat(auto-fill, [b] 2px [c]) [d] 3px'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "1px [a] repeat(auto-fill, [b] 2px [c]) [d] 3px"
- ¶
FAILProperty grid-template-rows value '1px [a] repeat(auto-fit, [b] 2px [c]) [d] 3px'
assert_equals: expected "1px [a b] 0px [c d] 3px" but got "1px [a] repeat(auto-fit, [b] 2px [c]) [d] 3px"
- ¶
FAILProperty grid-template-rows value '[a] 1px repeat(1, 2px [b] 3px) 4px [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(1, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-rows value '[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-rows value '[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]'
assert_equals: expected "[a] 1px 0px [b] 0px 4px [d]" but got "[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-rows value '100% [a] repeat(1, [b] 200% [c]) [d] 300%'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "100% [a] repeat(1, [b] 200% [c]) [d] 300%"
- ¶
FAILProperty grid-template-rows value '100% [a] repeat(auto-fill, [b] 200% [c]) [d] 300%'
assert_equals: expected "1px [a b] 2px [c d] 3px" but got "100% [a] repeat(auto-fill, [b] 200% [c]) [d] 300%"
- ¶
FAILProperty grid-template-rows value '100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%'
assert_equals: expected "1px [a b] 0px [c d] 3px" but got "100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%"
- ¶
FAILProperty grid-template-rows value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(1, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-rows value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]'
assert_equals: expected "[a] 1px 2px [b] 3px 4px [d]" but got "[a] 1px repeat(auto-fill, 2px [b] 3px) 4px [d]"
- ¶
FAILProperty grid-template-rows value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]'
assert_equals: expected "[a] 1px 0px [b] 0px 4px [d]" but got "[a] 1px repeat(auto-fit, 2px [b] 3px) 4px [d]"
6 passing subtests
- Property grid-template-rows value 'none'
- Property grid-template-rows value '1px'
- Property grid-template-rows value '1px [a]'
- Property grid-template-rows value '1px [a] 2px'
- Property grid-template-rows value '[a] 1px'
- Property grid-template-rows value '[a] 1px [b]'
grid-template-rows-invalid.html 42 / 42 passingChrome 42 / 420 failedClean
42 passing subtests
- e.style['grid-template-rows'] = "-10px" should not set the property value
- e.style['grid-template-rows'] = "-20%" should not set the property value
- e.style['grid-template-rows'] = "-5fr" should not set the property value
- e.style['grid-template-rows'] = "minmax(5fr, calc(0.5em + 10px))" should not set the property value
- e.style['grid-template-rows'] = "minmax(-10px, auto)" should not set the property value
- e.style['grid-template-rows'] = "minmax(-20%, max-content)" should not set the property value
- e.style['grid-template-rows'] = "minmax(min-content, -20%)" should not set the property value
- e.style['grid-template-rows'] = "fit-content(-10px)" should not set the property value
- e.style['grid-template-rows'] = "fit-content(-20%)" should not set the property value
- e.style['grid-template-rows'] = "[one] 10px [two three] repeat(20%) [four five six] 3fr [seven]" should not set the property value
- e.style['grid-template-rows'] = "[one]" should not set the property value
- e.style['grid-template-rows'] = "[one] 10px [two] [three]" should not set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, -10px)" should not set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, 10px) repeat(auto-fit, 20%)" should not set the property value
- e.style['grid-template-rows'] = "[auto] 1px" should not set the property value
- e.style['grid-template-rows'] = "-10px repeat(auto-fit, auto)" should not set the property value
- e.style['grid-template-rows'] = "-10px repeat(auto-fill, min-content)" should not set the property value
- e.style['grid-template-rows'] = "-20% repeat(auto-fit, max-content)" should not set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, fit-content)" should not set the property value
- e.style['grid-template-rows'] = "auto repeat(auto-fill, auto) auto" should not set the property value
- e.style['grid-template-rows'] = "min-content repeat(auto-fill, auto) min-content" should not set the property value
- e.style['grid-template-rows'] = "max-content repeat(auto-fill, auto) max-content" should not set the property value
- e.style['grid-template-rows'] = "fit-content(200px) repeat(auto-fill, auto) fit-content(200px)" should not set the property value
- e.style['grid-template-rows'] = "auto repeat(auto-fill, auto) repeat(5, auto)" should not set the property value
- e.style['grid-template-rows'] = "auto repeat(auto-fill, min-content) auto" should not set the property value
- e.style['grid-template-rows'] = "min-content repeat(auto-fill, min-content) min-content" should not set the property value
- e.style['grid-template-rows'] = "max-content repeat(auto-fill, min-content) max-content" should not set the property value
- e.style['grid-template-rows'] = "fit-content(200px) repeat(auto-fill, min-content) fit-content(200px)" should not set the property value
- e.style['grid-template-rows'] = "min-content repeat(auto-fill, min-content) repeat(5, min-content)" should not set the property value
- e.style['grid-template-rows'] = "auto repeat(auto-fill, max-content) auto" should not set the property value
- e.style['grid-template-rows'] = "min-content repeat(auto-fill, max-content) min-content" should not set the property value
- e.style['grid-template-rows'] = "max-content repeat(auto-fill, max-content) max-content" should not set the property value
- e.style['grid-template-rows'] = "fit-content(200px) repeat(auto-fill, max-content) fit-content(200px)" should not set the property value
- e.style['grid-template-rows'] = "max-content repeat(auto-fill, max-content) repeat(5, max-content)" should not set the property value
- e.style['grid-template-rows'] = "auto repeat(auto-fill, fit-content(200px)) auto" should not set the property value
- e.style['grid-template-rows'] = "min-content repeat(auto-fill, fit-content(200px)) min-content" should not set the property value
- e.style['grid-template-rows'] = "max-content repeat(auto-fill, fit-content(200px)) max-content" should not set the property value
- e.style['grid-template-rows'] = "fit-content(200px) repeat(auto-fill, fit-content(200px)) fit-content(200px)" should not set the property value
- e.style['grid-template-rows'] = "fit-content(200px) repeat(auto-fill, fit-content(200px)) repeat(5, fit-content(200px))" should not set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, minmax(fit-content(200px), fit-content(300px)))" should not set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, minmax(fit-content(200px), auto))" should not set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, minmax(max-content, fit-content(200px)))" should not set the property value
grid-template-rows-valid.html 34 / 34 passingChrome 34 / 340 failedClean
34 passing subtests
- e.style['grid-template-rows'] = "none" should set the property value
- e.style['grid-template-rows'] = "10px" should set the property value
- e.style['grid-template-rows'] = "20%" should set the property value
- e.style['grid-template-rows'] = "calc(-0.5em + 10px)" should set the property value
- e.style['grid-template-rows'] = "calc(0.5em + 10px)" should set the property value
- e.style['grid-template-rows'] = "calc(30% + 40vw)" should set the property value
- e.style['grid-template-rows'] = "5fr" should set the property value
- e.style['grid-template-rows'] = "min-content" should set the property value
- e.style['grid-template-rows'] = "max-content" should set the property value
- e.style['grid-template-rows'] = "auto" should set the property value
- e.style['grid-template-rows'] = "minmax(10px, auto)" should set the property value
- e.style['grid-template-rows'] = "minmax(20%, max-content)" should set the property value
- e.style['grid-template-rows'] = "minmax(calc(-0.5em + 10px), min-content)" should set the property value
- e.style['grid-template-rows'] = "minmax(calc(0.5em + 10px), 5fr)" should set the property value
- e.style['grid-template-rows'] = "minmax(calc(30% + 40vw), 10px)" should set the property value
- e.style['grid-template-rows'] = "minmax(min-content, 20%)" should set the property value
- e.style['grid-template-rows'] = "minmax(max-content, calc(-0.5em + 10px))" should set the property value
- e.style['grid-template-rows'] = "minmax(auto, calc(0.5em + 10px))" should set the property value
- e.style['grid-template-rows'] = "fit-content(10px)" should set the property value
- e.style['grid-template-rows'] = "fit-content(20%)" should set the property value
- e.style['grid-template-rows'] = "fit-content(calc(-0.5em + 10px))" should set the property value
- e.style['grid-template-rows'] = "fit-content(calc(0.5em + 10px))" should set the property value
- e.style['grid-template-rows'] = "fit-content(calc(30% + 40vw))" should set the property value
- e.style['grid-template-rows'] = "repeat(1, [] 10px [])" should set the property value
- e.style['grid-template-rows'] = "repeat(1, [one two] 20%)" should set the property value
- e.style['grid-template-rows'] = "repeat(2, minmax(10px, auto))" should set the property value
- e.style['grid-template-rows'] = "repeat(2, fit-content(20%) [three four] 30px 40px [five six])" should set the property value
- e.style['grid-template-rows'] = "min-content repeat(5, minmax(10px, auto))" should set the property value
- e.style['grid-template-rows'] = "[] 150px [] 1fr []" should set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, 10px)" should set the property value
- e.style['grid-template-rows'] = "repeat(auto-fit, [one] 20%)" should set the property value
- e.style['grid-template-rows'] = "repeat(auto-fill, minmax(30px, 5fr) [two])" should set the property value
- e.style['grid-template-rows'] = "repeat(auto-fit, [three] minmax(max-content, 6em) [four])" should set the property value
- e.style['grid-template-rows'] = "[one] repeat(2, minmax(10px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(10px, auto)) [six]" should set the property value
grid-template-shorthand-areas-valid.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- grid-template: none / 1px and "grid-template-areas: "a";" should be valid.
- grid-template: none / none and "grid-template-areas: "a";" should be valid.
- grid-template: none / none and "grid-template-areas: "a" "b" "c" "d" "e";" should be valid.
- grid-template: auto / 1px and "grid-template-areas: "a a a";" should be valid.
- grid-template: auto / auto and "grid-template-areas: "a a a";" should be valid.
- grid-template: 10px 20px 30px / 40px 50px 60px 70px and "grid-template-areas: "a . b ." "c d . e" "f g h .";" should be valid.
grid-template-shorthand-composition.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- grid-template-rows: none, grid-template-columns: none, and "grid-template-areas: none;" should be valid.
- grid-template-rows: auto, grid-template-columns: auto, and "grid-template-areas: none;" should be valid.
- grid-template-rows: [header-top] auto [header-bottom main-top] 1fr [main-bottom], grid-template-columns: auto 1fr auto, and "grid-template-areas: "a a a" "b b b";" should be valid.
- grid-template-rows: auto, grid-template-columns: auto, and "grid-template-areas: "a a a" "b b b";" should be valid.
- grid-template-rows: auto, grid-template-columns: auto auto, and "grid-template-areas: "a a a" "b b b";" should be valid.
- grid-template-rows: auto auto, grid-template-columns: auto, and "grid-template-areas: "a a a" "b b b";" should be valid.
- grid-template-rows: auto auto, grid-template-columns: auto auto, and "grid-template-areas: "a a a" "b b b";" should be valid.
- grid-template-rows: min-content, grid-template-columns: min-content, and "grid-template-areas: "a a a" "b b b" "c c c" "d d d";" should be valid.
- grid-template-rows: min-content, grid-template-columns: min-content auto auto auto, and "grid-template-areas: "a a a" "b b b" "c c c" "d d d";" should be valid.
- grid-template-rows: min-content auto auto auto, grid-template-columns: min-content, and "grid-template-areas: "a a a" "b b b" "c c c" "d d d";" should be valid.
- grid-template-rows: min-content auto auto auto, grid-template-columns: min-content auto auto auto, and "grid-template-areas: "a a a" "b b b" "c c c" "d d d";" should be valid.
grid-template-shorthand-invalid.html 66 / 66 passingChrome 66 / 660 failedClean
66 passing subtests
- e.style['grid-template'] = "auto" should not set the property value
- e.style['grid-template'] = "none none" should not set the property value
- e.style['grid-template'] = "none []" should not set the property value
- e.style['grid-template'] = "10px" should not set the property value
- e.style['grid-template'] = "20%" should not set the property value
- e.style['grid-template'] = "5fr" should not set the property value
- e.style['grid-template'] = "[a]" should not set the property value
- e.style['grid-template'] = "[a] 10px" should not set the property value
- e.style['grid-template'] = "[a] repeat(2, 10px)" should not set the property value
- e.style['grid-template'] = "[a] repeat(auto-fill, 10px)" should not set the property value
- e.style['grid-template'] = "[a] repeat(auto-fit, 10px)" should not set the property value
- e.style['grid-template'] = "[a] 10px []" should not set the property value
- e.style['grid-template'] = "[a] repeat(2, 10px) []" should not set the property value
- e.style['grid-template'] = "[a] repeat(auto-fill, 10px) []" should not set the property value
- e.style['grid-template'] = "[a] repeat(auto-fit, 10px) []" should not set the property value
- e.style['grid-template'] = "[]" should not set the property value
- e.style['grid-template'] = "10px \"a\"" should not set the property value
- e.style['grid-template'] = "repeat(2, 10px) \"a\"" should not set the property value
- e.style['grid-template'] = "repeat(auto-fill, 10px) \"a\"" should not set the property value
- e.style['grid-template'] = "repeat(auto-fit, 10px) \"a\"" should not set the property value
- e.style['grid-template'] = "[] 10px \"a\"" should not set the property value
- e.style['grid-template'] = "[] repeat(2, 10px) \"a\"" should not set the property value
- e.style['grid-template'] = "[] repeat(auto-fill, 10px) \"a\"" should not set the property value
- e.style['grid-template'] = "[] repeat(auto-fit, 10px) \"a\"" should not set the property value
- e.style['grid-template'] = "10px [] \"a\"" should not set the property value
- e.style['grid-template'] = "repeat(2, 10px) [] \"a\"" should not set the property value
- e.style['grid-template'] = "repeat(auto-fill, 10px) [] \"a\"" should not set the property value
- e.style['grid-template'] = "repeat(auto-fit, 10px) [] \"a\"" should not set the property value
- e.style['grid-template'] = "[] [] \"a\"" should not set the property value
- e.style['grid-template'] = "\"a\" none" should not set the property value
- e.style['grid-template'] = "\"a\" 10px 10px" should not set the property value
- e.style['grid-template'] = "\"a\" repeat(2, 10px) 10px" should not set the property value
- e.style['grid-template'] = "\"a\" 10px repeat(2, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" repeat(auto-fill, 10px) 10px" should not set the property value
- e.style['grid-template'] = "\"a\" 10px repeat(auto-fill, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" repeat(auto-fit, 10px) 10px" should not set the property value
- e.style['grid-template'] = "\"a\" 10px repeat(auto-fit, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" [a] 10px" should not set the property value
- e.style['grid-template'] = "\"a\" [a] repeat(2, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" [a] repeat(auto-fill, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" [a] repeat(auto-fit, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" [a] 10px [a]" should not set the property value
- e.style['grid-template'] = "\"a\" [a] repeat(2, 10px) [a]" should not set the property value
- e.style['grid-template'] = "\"a\" [a] repeat(auto-fill, 10px) [a]" should not set the property value
- e.style['grid-template'] = "\"a\" [a] repeat(auto-fit, 10px) [a]" should not set the property value
- e.style['grid-template'] = "\"a\" [a] [a] 10px" should not set the property value
- e.style['grid-template'] = "\"a\" [a] [a] repeat(2, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" [a] [a] repeat(auto-fill, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" [a] [a] repeat(auto-fit, 10px)" should not set the property value
- e.style['grid-template'] = "\"a\" 10px [a] [a]" should not set the property value
- e.style['grid-template'] = "\"a\" repeat(2, 10px) [a] [a]" should not set the property value
- e.style['grid-template'] = "\"a\" repeat(auto-fill, 10px) [a] [a]" should not set the property value
- e.style['grid-template'] = "\"a\" repeat(auto-fit, 10px) [a] [a]" should not set the property value
- e.style['grid-template'] = "\"a\" [a] [a]" should not set the property value
- e.style['grid-template'] = "[a] \"a\" [a] [a]" should not set the property value
- e.style['grid-template'] = "\"a\" \"a\" [a] [a]" should not set the property value
- e.style['grid-template'] = "\"a\" [a] [a] / none" should not set the property value
- e.style['grid-template'] = "\"a\" \"a\" [a] [a] / none" should not set the property value
- e.style['grid-template'] = "none / \"a\"" should not set the property value
- e.style['grid-template'] = "\"a\" / none" should not set the property value
- e.style['grid-template'] = "none / [] \"a\"" should not set the property value
- e.style['grid-template'] = "none / \"a\" []" should not set the property value
- e.style['grid-template'] = "none / \"a\" [] 10px" should not set the property value
- e.style['grid-template'] = "none / \"a\" [] repeat(2, 10px)" should not set the property value
- e.style['grid-template'] = "none / \"a\" [] repeat(auto-fill, 10px)" should not set the property value
- e.style['grid-template'] = "none / \"a\" [] repeat(auto-fit, 10px)" should not set the property value
grid-template-shorthand-valid.html 42 / 42 passingChrome 42 / 420 failedClean
42 passing subtests
- e.style['grid-template'] = "none" should set the property value
- e.style['grid-template'] = "none / none" should set the property value
- e.style['grid-template'] = "auto / auto" should set the property value
- e.style['grid-template'] = "none / [a] 0px" should set the property value
- e.style['grid-template'] = "none / [] 0px" should set the property value
- e.style['grid-template'] = "[a] 10px / auto" should set the property value
- e.style['grid-template'] = "[a] 10px / none" should set the property value
- e.style['grid-template'] = "[] 10px [] / [] auto []" should set the property value
- e.style['grid-template'] = "[a] \"a\" 10px" should set the property value
- e.style['grid-template'] = "[a] \"a\" 10px []" should set the property value
- e.style['grid-template'] = "\"a\" 10px" should set the property value
- e.style['grid-template'] = "[] \"a\" 10px" should set the property value
- e.style['grid-template'] = "[a] \"a\" 10px [a]" should set the property value
- e.style['grid-template'] = "\"a\"" should set the property value
- e.style['grid-template'] = "\"a\" auto" should set the property value
- e.style['grid-template'] = "\"a a a\"" should set the property value
- e.style['grid-template'] = "\"a\" / 10px" should set the property value
- e.style['grid-template'] = "\"a\" / 20%" should set the property value
- e.style['grid-template'] = "\"a\" / 5fr" should set the property value
- e.style['grid-template'] = "[a] \"a\"" should set the property value
- e.style['grid-template'] = "[a] \"a\" [a]" should set the property value
- e.style['grid-template'] = "[] \"a\"" should set the property value
- e.style['grid-template'] = "\"a\" [] [] \"b\"" should set the property value
- e.style['grid-template'] = "\"a\" [] \"b\"" should set the property value
- e.style['grid-template'] = "\"a\" [a] [b] \"b\"" should set the property value
- e.style['grid-template'] = "\"a\" [a] \"b\"" should set the property value
- e.style['grid-template'] = "\"a\" / 0" should set the property value
- e.style['grid-template'] = "\"a\" 10px / 10px" should set the property value
- e.style['grid-template'] = "\"a\" calc(100% - 10px) / calc(10px)" should set the property value
- e.style['grid-template'] = "\"a\" [a] \"b\" 10px" should set the property value
- e.style['grid-template'] = "\"a\" [a] \"b\" 10px [a]" should set the property value
- e.style['grid-template'] = "\"a\" [a] [a] \"b\" 10px" should set the property value
- e.style['grid-template'] = "\"a\" [a] [] \"b\" 10px" should set the property value
- e.style['grid-template'] = "\"a\" 10px [] [b] \"b\" 20px" should set the property value
- e.style['grid-template'] = "\"a\" 10px [] [b] \"b\" 20px / 30px" should set the property value
- e.style['grid-template'] = "\"a\" 10px [a] \"b\" [a]" should set the property value
- e.style['grid-template'] = "\"a\" [a] \"b\" [a]" should set the property value
- e.style['grid-template'] = "[a] \"a\" [a] \"b\" [a]" should set the property value
- e.style['grid-template'] = "\"a\" \"a\" [a] \"b\" [a]" should set the property value
- e.style['grid-template'] = "\"a\" [a] \"b\" [a] / 0" should set the property value
- e.style['grid-template'] = "\"a\" \"a\" [a] [a] \"b\" / auto" should set the property value
- e.style['grid-template'] = "\"a\" auto [a] \"b\" auto [b] / 10px" should set the property value
grid-template-shorthand.html 28 / 28 passingChrome 28 / 280 failedClean
28 passing subtests
- e.style['grid-template'] = "none" should set grid-template-areas
- e.style['grid-template'] = "none" should set grid-template-columns
- e.style['grid-template'] = "none" should set grid-template-rows
- e.style['grid-template'] = "none" should not set unrelated longhands
- e.style['grid-template'] = "10px / 20%" should set grid-template-areas
- e.style['grid-template'] = "10px / 20%" should set grid-template-columns
- e.style['grid-template'] = "10px / 20%" should set grid-template-rows
- e.style['grid-template'] = "10px / 20%" should not set unrelated longhands
- e.style['grid-template'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-template-areas
- e.style['grid-template'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-template-columns
- e.style['grid-template'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should set grid-template-rows
- e.style['grid-template'] = "fit-content(calc(-0.5em + 10px)) / fit-content(calc(0.5em + 10px))" should not set unrelated longhands
- e.style['grid-template'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-template-areas
- e.style['grid-template'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-template-columns
- e.style['grid-template'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should set grid-template-rows
- e.style['grid-template'] = "[header-top] \"a a a\" [header-bottom] [main-top] \"b b b\" 1fr [main-bottom] / auto 1fr auto" should not set unrelated longhands
- e.style['grid-template'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-template-areas
- e.style['grid-template'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-template-columns
- e.style['grid-template'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should set grid-template-rows
- e.style['grid-template'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" should not set unrelated longhands
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-areas
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-columns
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-rows
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should not set unrelated longhands
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should set grid-template-areas
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should set grid-template-columns
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should set grid-template-rows
- e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should not set unrelated longhands