Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css-grid-layout / non-grid-element-repeat-get-set-expected.txt
1 Test that setting and getting grid-template-columns and grid-template-rows with repeat() works as expected
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Test getting grid-template-columns and grid-template-rows set through CSS
7 PASS window.getComputedStyle(singleSingleTrackRepeat, '').getPropertyValue('grid-template-columns') is "15%"
8 PASS window.getComputedStyle(singleSingleTrackRepeat, '').getPropertyValue('grid-template-rows') is "18px"
9 PASS window.getComputedStyle(twoSingleTrackRepeat, '').getPropertyValue('grid-template-columns') is "minmax(15px, 50%) minmax(15px, 50%)"
10 PASS window.getComputedStyle(twoSingleTrackRepeat, '').getPropertyValue('grid-template-rows') is "auto auto"
11 PASS window.getComputedStyle(twoDoubleTrackRepeat, '').getPropertyValue('grid-template-columns') is "auto minmax(100px, 120px) auto minmax(100px, 120px)"
12 PASS window.getComputedStyle(twoDoubleTrackRepeat, '').getPropertyValue('grid-template-rows') is "minmax(5px, 10px) auto minmax(5px, 10px) auto"
13 PASS window.getComputedStyle(twoDoubleTrackWithNamedGridLineRepeat, '').getPropertyValue('grid-template-columns') is "auto (middle) 250px (end) auto (middle) 250px (end)"
14 PASS window.getComputedStyle(twoDoubleTrackWithNamedGridLineRepeat, '').getPropertyValue('grid-template-rows') is "10px (start) auto (end) 10px (start) auto (end)"
15 PASS window.getComputedStyle(twoDoubleTrackWithTrailingNamedGridLineRepeat, '').getPropertyValue('grid-template-columns') is "(before) auto (before) auto"
16 PASS window.getComputedStyle(twoDoubleTrackWithTrailingNamedGridLineRepeat, '').getPropertyValue('grid-template-rows') is "(before) 10px (before) 10px"
17 PASS window.getComputedStyle(trailingNamedGridLineRepeat, '').getPropertyValue('grid-template-columns') is "250px (end)"
18 PASS window.getComputedStyle(trailingNamedGridLineRepeat, '').getPropertyValue('grid-template-rows') is "10px (end)"
19 PASS window.getComputedStyle(leadingNamedGridLineRepeat, '').getPropertyValue('grid-template-columns') is "(start) 250px 250px"
20 PASS window.getComputedStyle(leadingNamedGridLineRepeat, '').getPropertyValue('grid-template-rows') is "(start) 10px 10px"
21 PASS window.getComputedStyle(mixRepeatAfterNonRepeat, '').getPropertyValue('grid-template-columns') is "(start) 140px 250px 250px"
22 PASS window.getComputedStyle(mixRepeatAfterNonRepeat, '').getPropertyValue('grid-template-rows') is "auto 10px 10px"
23 PASS window.getComputedStyle(mixNonRepeatAfterRepeat, '').getPropertyValue('grid-template-columns') is "250px 250px 15% (last)"
24 PASS window.getComputedStyle(mixNonRepeatAfterRepeat, '').getPropertyValue('grid-template-rows') is "10px 10px (end) auto"
25
26 Test invalid repeat syntax.
27 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
28 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
29 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
30 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
31 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
32 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
33 PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
34 PASS successfullyParsed is true
35
36 TEST COMPLETE
37