1 // We only test properties that are exposed in all ports.
2 var propertiesToTest = {
3 "-webkit-animation-delay": true,
4 "-webkit-animation-direction": true,
5 "-webkit-animation-duration": true,
6 "-webkit-animation-fill-mode": true,
7 "-webkit-animation-iteration-count": true,
8 "-webkit-animation-name": true,
9 "-webkit-animation-play-state": true,
10 "-webkit-animation-timing-function": true,
11 "-webkit-appearance": true,
12 "-webkit-backface-visibility": true,
13 "-webkit-background-clip": true,
14 "-webkit-background-composite": true,
15 "-webkit-background-origin": true,
16 "-webkit-background-size": true,
17 "-webkit-border-fit": true,
18 "-webkit-border-horizontal-spacing": true,
19 "-webkit-border-image": true,
20 "-webkit-border-vertical-spacing": true,
21 "-webkit-box-align": true,
22 "-webkit-box-decoration-break": true,
23 "-webkit-box-direction": true,
24 "-webkit-box-flex": true,
25 "-webkit-box-flex-group": true,
26 "-webkit-box-lines": true,
27 "-webkit-box-ordinal-group": true,
28 "-webkit-box-orient": true,
29 "-webkit-box-pack": true,
30 "-webkit-box-reflect": true,
31 "-webkit-box-shadow": true,
32 "-webkit-color-correction": true,
33 "-webkit-column-axis": true,
34 "-webkit-column-break-after": true,
35 "-webkit-column-break-before": true,
36 "-webkit-column-break-inside": true,
37 "-webkit-column-count": true,
38 "-webkit-column-gap": true,
39 "-webkit-column-rule-color": true,
40 "-webkit-column-rule-style": true,
41 "-webkit-column-rule-width": true,
42 "-webkit-column-span": true,
43 "-webkit-column-width": true,
44 "-webkit-font-smoothing": true,
45 "-webkit-grid-column": true,
46 "-webkit-grid-row": true,
47 "-webkit-highlight": true,
48 "-webkit-hyphenate-character": true,
49 "-webkit-line-align": true,
50 "-webkit-line-box-contain": true,
51 "-webkit-line-break": true,
52 "-webkit-line-clamp": true,
53 "-webkit-line-grid": true,
54 "-webkit-line-snap": true,
55 "-webkit-locale": true,
56 "-webkit-margin-after-collapse": true,
57 "-webkit-margin-before-collapse": true,
58 "-webkit-marquee-direction": true,
59 "-webkit-marquee-increment": true,
60 "-webkit-marquee-repetition": true,
61 "-webkit-marquee-style": true,
62 "-webkit-mask-attachment": true,
63 "-webkit-mask-box-image": true,
64 "-webkit-mask-box-image-outset": true,
65 "-webkit-mask-box-image-repeat": true,
66 "-webkit-mask-box-image-slice": true,
67 "-webkit-mask-box-image-source": true,
68 "-webkit-mask-box-image-width": true,
69 "-webkit-mask-clip": true,
70 "-webkit-mask-composite": true,
71 "-webkit-mask-image": true,
72 "-webkit-mask-origin": true,
73 "-webkit-mask-position": true,
74 "-webkit-mask-repeat": true,
75 "-webkit-mask-size": true,
76 "-webkit-nbsp-mode": true,
77 "-webkit-perspective": true,
78 "-webkit-perspective-origin": true,
79 "-webkit-print-color-adjust": true,
80 "-webkit-rtl-ordering": true,
81 "-webkit-text-combine": true,
82 "-webkit-text-decorations-in-effect": true,
83 "-webkit-text-emphasis-color": true,
84 "-webkit-text-emphasis-position": true,
85 "-webkit-text-emphasis-style": true,
86 "-webkit-text-fill-color": true,
87 "-webkit-text-orientation": true,
88 "-webkit-text-security": true,
89 "-webkit-text-stroke-color": true,
90 "-webkit-text-stroke-width": true,
91 "-webkit-transform": true,
92 "-webkit-transform-origin": true,
93 "-webkit-transform-style": true,
94 "-webkit-transition-delay": true,
95 "-webkit-transition-duration": true,
96 "-webkit-transition-property": true,
97 "-webkit-transition-timing-function": true,
98 "-webkit-user-drag": true,
99 "-webkit-user-modify": true,
100 "-webkit-user-select": true,
101 "-webkit-writing-mode": true,
102 "align-content": true,
105 "alignment-baseline": true,
106 "background-attachment": true,
107 "background-clip": true,
108 "background-color": true,
109 "background-image": true,
110 "background-origin": true,
111 "background-position": true,
112 "background-repeat": true,
113 "background-size": true,
114 "baseline-shift": true,
115 "border-bottom-color": true,
116 "border-bottom-left-radius": true,
117 "border-bottom-right-radius": true,
118 "border-bottom-style": true,
119 "border-bottom-width": true,
120 "border-collapse": true,
121 "border-image-outset": true,
122 "border-image-repeat": true,
123 "border-image-slice": true,
124 "border-image-source": true,
125 "border-image-width": true,
126 "border-left-color": true,
127 "border-left-style": true,
128 "border-left-width": true,
129 "border-right-color": true,
130 "border-right-style": true,
131 "border-right-width": true,
132 "border-top-color": true,
133 "border-top-left-radius": true,
134 "border-top-right-radius": true,
135 "border-top-style": true,
136 "border-top-width": true,
140 "caption-side": true,
146 "color-interpolation": true,
147 "color-interpolation-filters": true,
148 "color-rendering": true,
152 "dominant-baseline": true,
155 "fill-opacity": true,
158 "flex-direction": true,
162 "flood-opacity": true,
163 "font-kerning": true,
166 "font-variant": true,
167 "font-variant-ligatures": true,
169 "glyph-orientation-horizontal": true,
170 "glyph-orientation-vertical": true,
172 "image-rendering": true,
173 "justify-content": true,
176 "letter-spacing": true,
177 "lighting-color": true,
179 "list-style-image": true,
180 "list-style-position": true,
181 "list-style-type": true,
182 "margin-bottom": true,
184 "margin-right": true,
188 "marker-start": true,
197 "outline-color": true,
198 "outline-style": true,
199 "outline-width": true,
202 "padding-bottom": true,
203 "padding-left": true,
204 "padding-right": true,
206 "page-break-after": true,
207 "page-break-before": true,
208 "page-break-inside": true,
209 "pointer-events": true,
213 "shape-rendering": true,
216 "stop-opacity": true,
218 "stroke-dasharray": true,
219 "stroke-dashoffset": true,
220 "stroke-linecap": true,
221 "stroke-linejoin": true,
222 "stroke-miterlimit": true,
223 "stroke-opacity": true,
224 "stroke-width": true,
226 "table-layout": true,
229 "text-decoration": true,
231 "text-overflow": true,
232 "text-rendering": true,
234 "text-transform": true,
236 "unicode-bidi": true,
237 "vector-effect": true,
238 "vertical-align": true,
244 "word-spacing": true,
246 "writing-mode": true,
251 // There properties don't show up when iterating a computed style object,
252 // but we do want to dump their values in tests.
253 var hiddenComputedStyleProperties = [
254 "background-position-x",
255 "background-position-y",
258 "-webkit-mask-position-x",
259 "-webkit-mask-position-y",