1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Test that setting/getting grid-template-{columns|rows} with repeat(auto-fill|auto-fit,) works as expected
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test auto-repeat syntax.
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[foo bar] 10px"
PASS element.style.gridTemplateColumns is "[foo bar] 10px"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "20px [foo bar]"
PASS element.style.gridTemplateRows is "2em [foo bar]"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[foo bar] 800px"
PASS element.style.gridTemplateColumns is "[foo bar] minmax(10px, 1fr)"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[foo] 20px [bar]"
PASS element.style.gridTemplateRows is "[foo] minmax(2em, max-content) [bar]"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "100px 20px 20px"
PASS element.style.gridTemplateColumns is "minmax(10px, 100px) 20px 20px"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "70px 20px [bar foo] 10px [foo] 10px"
PASS element.style.gridTemplateRows is "70px minmax(2em, max-content) [bar] [foo] 1em [foo] 1em"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[foo bar] 10px"
PASS element.style.gridTemplateColumns is "[foo bar] 10px"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "20px [foo bar]"
PASS element.style.gridTemplateRows is "2em [foo bar]"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[foo bar] 800px"
PASS element.style.gridTemplateColumns is "[foo bar] minmax(10px, 1fr)"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[foo] 20px [bar]"
PASS element.style.gridTemplateRows is "[foo] minmax(2em, max-content) [bar]"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "10px 20px 20px"
PASS element.style.gridTemplateColumns is "minmax(10px, min-content) 20px 20px"
PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "60px 20px [bar foo] 10px [foo] 10px"
PASS element.style.gridTemplateRows is "10% minmax(2em, max-content) [bar] [foo] 1em [foo] 1em"
Test invalid repeat syntax.
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS successfullyParsed is true
TEST COMPLETE
|