Implement the updated port/area-based Scroll Snap Module Level 1 Spec
[WebKit-https.git] / LayoutTests / css3 / scroll-snap / scroll-snap-inherit-expected.txt
1 Tests 'inherit' on scroll snap properties.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS noInherit.style['scroll-snap-type'] is ""
7 PASS window.getComputedStyle(noInherit).getPropertyValue('scroll-snap-type') is "both mandatory"
8 PASS noInherit.style['scroll-snap-align'] is ""
9 PASS window.getComputedStyle(noInherit).getPropertyValue('scroll-snap-align') is "center center"
10 PASS noInherit.style['scroll-padding'] is ""
11 PASS noInherit.style['scroll-padding-left'] is ""
12 PASS noInherit.style['scroll-padding-right'] is ""
13 PASS noInherit.style['scroll-padding-top'] is ""
14 PASS noInherit.style['scroll-padding-bottom'] is ""
15 PASS window.getComputedStyle(noInherit).getPropertyValue('scroll-padding') is "20px"
16 PASS noInherit.style['scroll-snap-margin'] is ""
17 PASS noInherit.style['scroll-snap-margin-left'] is ""
18 PASS noInherit.style['scroll-snap-margin-right'] is ""
19 PASS noInherit.style['scroll-snap-margin-top'] is ""
20 PASS noInherit.style['scroll-snap-margin-bottom'] is ""
21 PASS window.getComputedStyle(noInherit).getPropertyValue('scroll-snap-margin') is "0px 1px"
22
23 PASS inheritType.style['scroll-snap-type'] is "inherit"
24 PASS window.getComputedStyle(inheritType).getPropertyValue('scroll-snap-type') is "x proximity"
25 PASS inheritType.style['scroll-snap-align'] is ""
26 PASS window.getComputedStyle(inheritType).getPropertyValue('scroll-snap-align') is "center center"
27 PASS inheritType.style['scroll-padding'] is ""
28 PASS inheritType.style['scroll-padding-left'] is ""
29 PASS inheritType.style['scroll-padding-right'] is ""
30 PASS inheritType.style['scroll-padding-top'] is ""
31 PASS inheritType.style['scroll-padding-bottom'] is ""
32 PASS window.getComputedStyle(inheritType).getPropertyValue('scroll-padding') is "20px"
33 PASS inheritType.style['scroll-snap-margin'] is ""
34 PASS inheritType.style['scroll-snap-margin-left'] is ""
35 PASS inheritType.style['scroll-snap-margin-right'] is ""
36 PASS inheritType.style['scroll-snap-margin-top'] is ""
37 PASS inheritType.style['scroll-snap-margin-bottom'] is ""
38 PASS window.getComputedStyle(inheritType).getPropertyValue('scroll-snap-margin') is "0px 1px"
39
40 PASS inheritAlign.style['scroll-snap-type'] is ""
41 PASS window.getComputedStyle(inheritAlign).getPropertyValue('scroll-snap-type') is "both mandatory"
42 PASS inheritAlign.style['scroll-snap-align'] is "inherit"
43 PASS window.getComputedStyle(inheritAlign).getPropertyValue('scroll-snap-align') is "start end"
44 PASS inheritAlign.style['scroll-padding'] is ""
45 PASS inheritAlign.style['scroll-padding-left'] is ""
46 PASS inheritAlign.style['scroll-padding-right'] is ""
47 PASS inheritAlign.style['scroll-padding-top'] is ""
48 PASS inheritAlign.style['scroll-padding-bottom'] is ""
49 PASS window.getComputedStyle(inheritAlign).getPropertyValue('scroll-padding') is "20px"
50 PASS inheritAlign.style['scroll-snap-margin'] is ""
51 PASS inheritAlign.style['scroll-snap-margin-left'] is ""
52 PASS inheritAlign.style['scroll-snap-margin-right'] is ""
53 PASS inheritAlign.style['scroll-snap-margin-top'] is ""
54 PASS inheritAlign.style['scroll-snap-margin-bottom'] is ""
55 PASS window.getComputedStyle(inheritAlign).getPropertyValue('scroll-snap-margin') is "0px 1px"
56
57 PASS inheritPadding.style['scroll-snap-type'] is ""
58 PASS window.getComputedStyle(inheritPadding).getPropertyValue('scroll-snap-type') is "both mandatory"
59 PASS inheritPadding.style['scroll-snap-align'] is ""
60 PASS window.getComputedStyle(inheritPadding).getPropertyValue('scroll-snap-align') is "center center"
61 PASS inheritPadding.style['scroll-padding'] is "inherit"
62 PASS inheritPadding.style['scroll-padding-left'] is "inherit"
63 PASS inheritPadding.style['scroll-padding-right'] is "inherit"
64 PASS inheritPadding.style['scroll-padding-top'] is "inherit"
65 PASS inheritPadding.style['scroll-padding-bottom'] is "inherit"
66 PASS window.getComputedStyle(inheritPadding).getPropertyValue('scroll-padding') is "10%"
67 PASS inheritPadding.style['scroll-snap-margin'] is ""
68 PASS inheritPadding.style['scroll-snap-margin-left'] is ""
69 PASS inheritPadding.style['scroll-snap-margin-right'] is ""
70 PASS inheritPadding.style['scroll-snap-margin-top'] is ""
71 PASS inheritPadding.style['scroll-snap-margin-bottom'] is ""
72 PASS window.getComputedStyle(inheritPadding).getPropertyValue('scroll-snap-margin') is "0px 1px"
73
74 PASS inheritMargin.style['scroll-snap-type'] is ""
75 PASS window.getComputedStyle(inheritMargin).getPropertyValue('scroll-snap-type') is "both mandatory"
76 PASS inheritMargin.style['scroll-snap-align'] is ""
77 PASS window.getComputedStyle(inheritMargin).getPropertyValue('scroll-snap-align') is "center center"
78 PASS inheritMargin.style['scroll-padding'] is ""
79 PASS inheritMargin.style['scroll-padding-left'] is ""
80 PASS inheritMargin.style['scroll-padding-right'] is ""
81 PASS inheritMargin.style['scroll-padding-top'] is ""
82 PASS inheritMargin.style['scroll-padding-bottom'] is ""
83 PASS window.getComputedStyle(inheritMargin).getPropertyValue('scroll-padding') is "20px"
84 PASS inheritMargin.style['scroll-snap-margin'] is "inherit"
85 PASS inheritMargin.style['scroll-snap-margin-left'] is "inherit"
86 PASS inheritMargin.style['scroll-snap-margin-right'] is "inherit"
87 PASS inheritMargin.style['scroll-snap-margin-top'] is "inherit"
88 PASS inheritMargin.style['scroll-snap-margin-bottom'] is "inherit"
89 PASS window.getComputedStyle(inheritMargin).getPropertyValue('scroll-snap-margin') is "5px 5px 10px 10px"
90
91 PASS inheritAll.style['scroll-snap-type'] is "inherit"
92 PASS window.getComputedStyle(inheritAll).getPropertyValue('scroll-snap-type') is "x proximity"
93 PASS inheritAll.style['scroll-snap-align'] is "inherit"
94 PASS window.getComputedStyle(inheritAll).getPropertyValue('scroll-snap-align') is "start end"
95 PASS inheritAll.style['scroll-padding'] is "inherit"
96 PASS inheritAll.style['scroll-padding-left'] is "inherit"
97 PASS inheritAll.style['scroll-padding-right'] is "inherit"
98 PASS inheritAll.style['scroll-padding-top'] is "inherit"
99 PASS inheritAll.style['scroll-padding-bottom'] is "inherit"
100 PASS window.getComputedStyle(inheritAll).getPropertyValue('scroll-padding') is "10%"
101 PASS inheritAll.style['scroll-snap-margin'] is "inherit"
102 PASS inheritAll.style['scroll-snap-margin-left'] is "inherit"
103 PASS inheritAll.style['scroll-snap-margin-right'] is "inherit"
104 PASS inheritAll.style['scroll-snap-margin-top'] is "inherit"
105 PASS inheritAll.style['scroll-snap-margin-bottom'] is "inherit"
106 PASS window.getComputedStyle(inheritAll).getPropertyValue('scroll-snap-margin') is "5px 5px 10px 10px"
107
108 PASS inheritNone.style['scroll-snap-type'] is ""
109 PASS window.getComputedStyle(inheritNone).getPropertyValue('scroll-snap-type') is "none"
110 PASS inheritNone.style['scroll-snap-align'] is ""
111 PASS window.getComputedStyle(inheritNone).getPropertyValue('scroll-snap-align') is "none none"
112 PASS inheritNone.style['scroll-padding'] is ""
113 PASS inheritNone.style['scroll-padding-left'] is ""
114 PASS inheritNone.style['scroll-padding-right'] is ""
115 PASS inheritNone.style['scroll-padding-top'] is ""
116 PASS inheritNone.style['scroll-padding-bottom'] is ""
117 PASS window.getComputedStyle(inheritNone).getPropertyValue('scroll-padding') is "0px"
118 PASS inheritNone.style['scroll-snap-margin'] is ""
119 PASS inheritNone.style['scroll-snap-margin-left'] is ""
120 PASS inheritNone.style['scroll-snap-margin-right'] is ""
121 PASS inheritNone.style['scroll-snap-margin-top'] is ""
122 PASS inheritNone.style['scroll-snap-margin-bottom'] is ""
123 PASS window.getComputedStyle(inheritNone).getPropertyValue('scroll-snap-margin') is "0px"
124 PASS successfullyParsed is true
125
126 TEST COMPLETE
127