Add missing text styles
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Models / CSSKeywordCompletions.js
1 /*
2  * Copyright (C) 2011 Google Inc. All rights reserved.
3  * Copyright (C) 2013 Apple Inc. All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are
7  * met:
8  *
9  *     * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *     * Redistributions in binary form must reproduce the above
12  * copyright notice, this list of conditions and the following disclaimer
13  * in the documentation and/or other materials provided with the
14  * distribution.
15  *     * Neither the name of Google Inc. nor the names of its
16  * contributors may be used to endorse or promote products derived from
17  * this software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30  */
31
32 WebInspector.CSSKeywordCompletions = {};
33
34 WebInspector.CSSKeywordCompletions.forProperty = function(propertyName)
35 {
36     let acceptedKeywords = ["initial", "unset", "revert", "var()"];
37     let isNotPrefixed = propertyName.charAt(0) !== "-";
38
39     if (propertyName in WebInspector.CSSKeywordCompletions._propertyKeywordMap)
40         acceptedKeywords = acceptedKeywords.concat(WebInspector.CSSKeywordCompletions._propertyKeywordMap[propertyName]);
41     else if (isNotPrefixed && ("-webkit-" + propertyName) in WebInspector.CSSKeywordCompletions._propertyKeywordMap)
42         acceptedKeywords = acceptedKeywords.concat(WebInspector.CSSKeywordCompletions._propertyKeywordMap["-webkit-" + propertyName]);
43
44     if (propertyName in WebInspector.CSSKeywordCompletions._colorAwareProperties)
45         acceptedKeywords = acceptedKeywords.concat(WebInspector.CSSKeywordCompletions._colors);
46     else if (isNotPrefixed && ("-webkit-" + propertyName) in WebInspector.CSSKeywordCompletions._colorAwareProperties)
47         acceptedKeywords = acceptedKeywords.concat(WebInspector.CSSKeywordCompletions._colors);
48     else if (propertyName.endsWith("color"))
49         acceptedKeywords = acceptedKeywords.concat(WebInspector.CSSKeywordCompletions._colors);
50
51     // Only suggest "inherit" on inheritable properties even though it is valid on all properties.
52     if (propertyName in WebInspector.CSSKeywordCompletions.InheritedProperties)
53         acceptedKeywords.push("inherit");
54     else if (isNotPrefixed && ("-webkit-" + propertyName) in WebInspector.CSSKeywordCompletions.InheritedProperties)
55         acceptedKeywords.push("inherit");
56
57     if (acceptedKeywords.includes(WebInspector.CSSKeywordCompletions.AllPropertyNamesPlaceholder) && WebInspector.CSSCompletions.cssNameCompletions) {
58         acceptedKeywords.remove(WebInspector.CSSKeywordCompletions.AllPropertyNamesPlaceholder);
59         acceptedKeywords = acceptedKeywords.concat(WebInspector.CSSCompletions.cssNameCompletions.values);
60     }
61
62     return new WebInspector.CSSCompletions(acceptedKeywords, true);
63 };
64
65 WebInspector.CSSKeywordCompletions.addCustomCompletions = function(properties)
66 {
67     for (var property of properties) {
68         if (property.values)
69             WebInspector.CSSKeywordCompletions.addPropertyCompletionValues(property.name, property.values);
70     }
71 };
72
73 WebInspector.CSSKeywordCompletions.addPropertyCompletionValues = function(propertyName, newValues)
74 {
75     var existingValues = WebInspector.CSSKeywordCompletions._propertyKeywordMap[propertyName];
76     if (!existingValues) {
77         WebInspector.CSSKeywordCompletions._propertyKeywordMap[propertyName] = newValues;
78         return;
79     }
80
81     var union = new Set;
82     for (var value of existingValues)
83         union.add(value);
84     for (var value of newValues)
85         union.add(value);
86
87     WebInspector.CSSKeywordCompletions._propertyKeywordMap[propertyName] = [...union.values()];
88 };
89
90 WebInspector.CSSKeywordCompletions.AllPropertyNamesPlaceholder = "__all-properties__";
91
92 WebInspector.CSSKeywordCompletions.InheritedProperties = [
93     "azimuth", "border-collapse", "border-spacing", "caption-side", "clip-rule", "color", "color-interpolation",
94     "color-interpolation-filters", "color-rendering", "cursor", "direction", "elevation", "empty-cells", "fill",
95     "fill-opacity", "fill-rule", "font", "font-family", "font-size", "font-style", "font-variant", "font-variant-numeric", "font-weight", "font-optical-sizing",
96     "glyph-orientation-horizontal", "glyph-orientation-vertical", "hanging-punctuation", "image-rendering", "kerning", "letter-spacing",
97     "line-height", "list-style", "list-style-image", "list-style-position", "list-style-type", "marker", "marker-end",
98     "marker-mid", "marker-start", "orphans", "pitch", "pitch-range", "pointer-events", "quotes", "resize", "richness",
99     "shape-rendering", "speak", "speak-header", "speak-numeral", "speak-punctuation", "speech-rate", "stress", "stroke",
100     "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity",
101     "stroke-width", "tab-size", "text-align", "text-anchor", "text-decoration", "text-indent", "text-rendering",
102     "text-shadow", "text-transform", "visibility", "voice-family", "volume", "white-space", "widows", "word-break",
103     "word-spacing", "word-wrap", "writing-mode", "-webkit-aspect-ratio", "-webkit-border-horizontal-spacing",
104     "-webkit-border-vertical-spacing", "-webkit-box-direction", "-webkit-color-correction", "font-feature-settings",
105     "-webkit-font-kerning", "-webkit-font-smoothing", "-webkit-font-variant-ligatures",
106     "-webkit-hyphenate-character", "-webkit-hyphenate-limit-after", "-webkit-hyphenate-limit-before",
107     "-webkit-hyphenate-limit-lines", "-webkit-hyphens", "-webkit-line-align", "-webkit-line-box-contain",
108     "-webkit-line-break", "-webkit-line-grid", "-webkit-line-snap", "-webkit-locale", "-webkit-nbsp-mode",
109     "-webkit-print-color-adjust", "-webkit-rtl-ordering", "-webkit-text-combine", "-webkit-text-decorations-in-effect",
110     "-webkit-text-emphasis", "-webkit-text-emphasis-color", "-webkit-text-emphasis-position", "-webkit-text-emphasis-style",
111     "-webkit-text-fill-color", "-webkit-text-orientation", "-webkit-text-security", "-webkit-text-size-adjust",
112     "-webkit-text-stroke", "-webkit-text-stroke-color", "-webkit-text-stroke-width", "-webkit-user-modify",
113     "-webkit-user-select", "-webkit-writing-mode", "-webkit-cursor-visibility", "image-orientation", "image-resolution",
114     "overflow-wrap", "-webkit-text-align-last", "-webkit-text-justify", "-webkit-ruby-position", "-webkit-text-decoration-line",
115     "font-synthesis",
116
117     // iOS Properties
118     "-webkit-overflow-scrolling", "-webkit-touch-callout", "-webkit-tap-highlight-color"
119 ].keySet();
120
121 WebInspector.CSSKeywordCompletions._colors = [
122     "aqua", "black", "blue", "fuchsia", "gray", "green", "lime", "maroon", "navy", "olive", "orange", "purple", "red",
123     "silver", "teal", "white", "yellow", "transparent", "currentcolor", "grey", "aliceblue", "antiquewhite",
124     "aquamarine", "azure", "beige", "bisque", "blanchedalmond", "blueviolet", "brown", "burlywood", "cadetblue",
125     "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan",
126     "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange",
127     "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey",
128     "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick",
129     "floralwhite", "forestgreen", "gainsboro", "ghostwhite", "gold", "goldenrod", "greenyellow", "honeydew", "hotpink",
130     "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue",
131     "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink",
132     "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow",
133     "limegreen", "linen", "magenta", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen",
134     "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream",
135     "mistyrose", "moccasin", "navajowhite", "oldlace", "olivedrab", "orangered", "orchid", "palegoldenrod", "palegreen",
136     "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "rebeccapurple", "rosybrown",
137     "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "skyblue", "slateblue",
138     "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "thistle", "tomato", "turquoise", "violet",
139     "wheat", "whitesmoke", "yellowgreen", "rgb()", "rgba()", "hsl()", "hsla()"
140 ];
141
142 WebInspector.CSSKeywordCompletions._colorAwareProperties = [
143     "background", "background-color", "background-image", "border", "border-color", "border-top", "border-right", "border-bottom",
144     "border-left", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "box-shadow", "color",
145     "fill", "outline", "outline-color", "stroke", "text-line-through", "text-line-through-color", "text-overline", "text-overline-color",
146     "text-shadow", "text-underline", "text-underline-color", "-webkit-box-shadow", "-webkit-column-rule", "-webkit-column-rule-color",
147     "-webkit-text-emphasis", "-webkit-text-emphasis-color", "-webkit-text-fill-color", "-webkit-text-stroke", "-webkit-text-stroke-color",
148     "-webkit-text-decoration-color",
149
150     // iOS Properties
151     "-webkit-tap-highlight-color"
152 ].keySet();
153
154 WebInspector.CSSKeywordCompletions._propertyKeywordMap = {
155     "table-layout": [
156         "auto", "fixed"
157     ],
158     "visibility": [
159         "hidden", "visible", "collapse"
160     ],
161     "text-underline": [
162         "none", "dotted", "dashed", "solid", "double", "dot-dash", "dot-dot-dash", "wave"
163     ],
164     "content": [
165         "list-item", "close-quote", "no-close-quote", "no-open-quote", "open-quote", "attr()", "counter()", "counters()", "url()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()", "-webkit-canvas()", "cross-fade()", "image-set()"
166     ],
167     "list-style-image": [
168         "none", "url()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()", "-webkit-canvas()", "cross-fade()", "image-set()"
169     ],
170     "clear": [
171         "none", "left", "right", "both"
172     ],
173     "fill-rule": [
174         "nonzero", "evenodd"
175     ],
176     "stroke-linecap": [
177         "butt", "round", "square"
178     ],
179     "stroke-linejoin": [
180         "round", "miter", "bevel"
181     ],
182     "baseline-shift": [
183         "baseline", "sub", "super"
184     ],
185     "border-bottom-width": [
186         "medium", "thick", "thin", "calc()"
187     ],
188     "margin-top-collapse": [
189         "collapse", "separate", "discard"
190     ],
191     "-webkit-box-orient": [
192         "horizontal", "vertical", "inline-axis", "block-axis"
193     ],
194     "font-stretch": [
195         "normal", "wider", "narrower", "ultra-condensed", "extra-condensed", "condensed", "semi-condensed",
196         "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"
197     ],
198     "font-optical-sizing": [
199         "auto", "none",
200     ],
201     "-webkit-color-correction": [
202         "default", "srgb"
203     ],
204     "border-left-width": [
205         "medium", "thick", "thin", "calc()"
206     ],
207     "-webkit-writing-mode": [
208         "lr", "rl", "tb", "lr-tb", "rl-tb", "tb-rl", "horizontal-tb", "vertical-rl", "vertical-lr", "horizontal-bt"
209     ],
210     "text-line-through-mode": [
211         "continuous", "skip-white-space"
212     ],
213     "text-overline-mode": [
214         "continuous", "skip-white-space"
215     ],
216     "text-underline-mode": [
217         "continuous", "skip-white-space"
218     ],
219     "text-line-through-style": [
220         "none", "dotted", "dashed", "solid", "double", "dot-dash", "dot-dot-dash", "wave"
221     ],
222     "text-overline-style": [
223         "none", "dotted", "dashed", "solid", "double", "dot-dash", "dot-dot-dash", "wave"
224     ],
225     "text-underline-style": [
226         "none", "dotted", "dashed", "solid", "double", "dot-dash", "dot-dot-dash", "wave"
227     ],
228     "border-collapse": [
229         "collapse", "separate"
230     ],
231     "border-top-width": [
232         "medium", "thick", "thin", "calc()"
233     ],
234     "outline-color": [
235         "invert", "-webkit-focus-ring-color"
236     ],
237     "outline-style": [
238         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double", "auto"
239     ],
240     "cursor": [
241         "none", "copy", "auto", "crosshair", "default", "pointer", "move", "vertical-text", "cell", "context-menu",
242         "alias", "progress", "no-drop", "not-allowed", "zoom-in", "zoom-out", "e-resize", "ne-resize",
243         "nw-resize", "n-resize", "se-resize", "sw-resize", "s-resize", "w-resize", "ew-resize", "ns-resize",
244         "nesw-resize", "nwse-resize", "col-resize", "row-resize", "text", "wait", "help", "all-scroll", "-webkit-grab",
245         "-webkit-zoom-in", "-webkit-zoom-out",
246         "-webkit-grabbing", "url()", "image-set()"
247     ],
248     "border-width": [
249         "medium", "thick", "thin", "calc()"
250     ],
251     "size": [
252         "a3", "a4", "a5", "b4", "b5", "landscape", "ledger", "legal", "letter", "portrait"
253     ],
254     "background": [
255         "none", "url()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()", "-webkit-canvas()", "cross-fade()", "image-set()",
256         "repeat", "repeat-x", "repeat-y", "no-repeat", "space", "round",
257         "scroll", "fixed", "local",
258         "auto", "contain", "cover",
259         "top", "right", "left", "bottom", "center",
260         "border-box", "padding-box", "content-box"
261     ],
262     "background-image": [
263         "none", "url()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()", "-webkit-canvas()", "cross-fade()", "image-set()"
264     ],
265     "background-size": [
266         "auto", "contain", "cover"
267     ],
268     "background-attachment": [
269         "scroll", "fixed", "local"
270     ],
271     "background-repeat": [
272         "repeat", "repeat-x", "repeat-y", "no-repeat", "space", "round"
273     ],
274     "background-blend-mode": [
275         "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"
276     ],
277     "background-position": [
278         "top", "right", "left", "bottom", "center"
279     ],
280     "background-origin": [
281         "border-box", "padding-box", "content-box"
282     ],
283     "background-clip": [
284         "border-box", "padding-box", "content-box"
285     ],
286     "direction": [
287         "ltr", "rtl"
288     ],
289     "enable-background": [
290         "accumulate", "new"
291     ],
292     "float": [
293         "none", "left", "right"
294     ],
295     "hanging-punctuation": [
296         "none", "first", "last", "allow-end", "force-end"
297     ],
298     "overflow-x": [
299         "hidden", "auto", "visible", "overlay", "scroll", "marquee"
300     ],
301     "overflow-y": [
302         "hidden", "auto", "visible", "overlay", "scroll", "marquee", "-webkit-paged-x", "-webkit-paged-y"
303     ],
304     "overflow": [
305         "hidden", "auto", "visible", "overlay", "scroll", "marquee", "-webkit-paged-x", "-webkit-paged-y"
306     ],
307     "margin-bottom-collapse": [
308         "collapse", "separate", "discard"
309     ],
310     "-webkit-box-reflect": [
311         "none", "left", "right", "above", "below"
312     ],
313     "text-rendering": [
314         "auto", "optimizeSpeed", "optimizeLegibility", "geometricPrecision"
315     ],
316     "text-align": [
317         "-webkit-auto", "left", "right", "center", "justify", "-webkit-left", "-webkit-right", "-webkit-center", "-webkit-match-parent", "start", "end"
318     ],
319     "list-style-position": [
320         "outside", "inside"
321     ],
322     "margin-bottom": [
323         "auto"
324     ],
325     "color-interpolation": [
326         "linearrgb"
327     ],
328     "word-wrap": [
329         "normal", "break-word"
330     ],
331     "font-weight": [
332         "normal", "bold", "bolder", "lighter", "100", "200", "300", "400", "500", "600", "700", "800", "900"
333     ],
334     "font-synthesis": [
335         "none", "weight", "style"
336     ],
337     "margin-before-collapse": [
338         "collapse", "separate", "discard"
339     ],
340     "text-overline-width": [
341         "normal", "medium", "auto", "thick", "thin", "calc()"
342     ],
343     "text-transform": [
344         "none", "capitalize", "uppercase", "lowercase"
345     ],
346     "border-right-style": [
347         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double"
348     ],
349     "border-left-style": [
350         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double"
351     ],
352     "font-style": [
353         "italic", "oblique", "normal"
354     ],
355     "speak": [
356         "none", "normal", "spell-out", "digits", "literal-punctuation", "no-punctuation"
357     ],
358     "text-line-through": [
359         "none", "dotted", "dashed", "solid", "double", "dot-dash", "dot-dot-dash", "wave", "continuous", "skip-white-space"
360     ],
361     "color-rendering": [
362         "auto", "optimizeSpeed", "optimizeQuality"
363     ],
364     "list-style-type": [
365         "none", "disc", "circle", "square", "decimal", "decimal-leading-zero", "arabic-indic", "binary", "bengali",
366         "cambodian", "khmer", "devanagari", "gujarati", "gurmukhi", "kannada", "lower-hexadecimal", "lao", "malayalam",
367         "mongolian", "myanmar", "octal", "oriya", "persian", "urdu", "telugu", "tibetan", "thai", "upper-hexadecimal",
368         "lower-roman", "upper-roman", "lower-greek", "lower-alpha", "lower-latin", "upper-alpha", "upper-latin", "afar",
369         "ethiopic-halehame-aa-et", "ethiopic-halehame-aa-er", "amharic", "ethiopic-halehame-am-et", "amharic-abegede",
370         "ethiopic-abegede-am-et", "cjk-earthly-branch", "cjk-heavenly-stem", "ethiopic", "ethiopic-halehame-gez",
371         "ethiopic-abegede", "ethiopic-abegede-gez", "hangul-consonant", "hangul", "lower-norwegian", "oromo",
372         "ethiopic-halehame-om-et", "sidama", "ethiopic-halehame-sid-et", "somali", "ethiopic-halehame-so-et", "tigre",
373         "ethiopic-halehame-tig", "tigrinya-er", "ethiopic-halehame-ti-er", "tigrinya-er-abegede",
374         "ethiopic-abegede-ti-er", "tigrinya-et", "ethiopic-halehame-ti-et", "tigrinya-et-abegede",
375         "ethiopic-abegede-ti-et", "upper-greek", "upper-norwegian", "asterisks", "footnotes", "hebrew", "armenian",
376         "lower-armenian", "upper-armenian", "georgian", "cjk-ideographic", "hiragana", "katakana", "hiragana-iroha",
377         "katakana-iroha"
378     ],
379     "-webkit-text-combine": [
380         "none", "horizontal"
381     ],
382     "outline": [
383         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double"
384     ],
385     "font": [
386         "caption", "icon", "menu", "message-box", "small-caption", "-webkit-mini-control", "-webkit-small-control",
387         "-webkit-control", "status-bar", "italic", "oblique", "small-caps", "normal", "bold", "bolder", "lighter",
388         "100", "200", "300", "400", "500", "600", "700", "800", "900", "xx-small", "x-small", "small", "medium",
389         "large", "x-large", "xx-large", "-webkit-xxx-large", "smaller", "larger", "serif", "sans-serif", "cursive",
390         "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-apple-system",
391         "-apple-system-headline", "-apple-system-body", "-apple-system-subheadline", "-apple-system-footnote",
392         "-apple-system-caption1", "-apple-system-caption2", "-apple-system-short-headline", "-apple-system-short-body",
393         "-apple-system-short-subheadline", "-apple-system-short-footnote", "-apple-system-short-caption1",
394         "-apple-system-tall-body", "-apple-system-title0", "-apple-system-title1", "-apple-system-title2", "-apple-system-title3", "-apple-system-title4", "system-ui"
395     ],
396     "dominant-baseline": [
397         "middle", "auto", "central", "text-before-edge", "text-after-edge", "ideographic", "alphabetic", "hanging",
398         "mathematical", "use-script", "no-change", "reset-size"
399     ],
400     "display": [
401         "none", "inline", "block", "list-item", "compact", "inline-block", "table", "inline-table",
402         "table-row-group", "table-header-group", "table-footer-group", "table-row", "table-column-group",
403         "table-column", "table-cell", "table-caption", "-webkit-box", "-webkit-inline-box", "-wap-marquee",
404         "flex", "inline-flex", "grid", "inline-grid"
405     ],
406     "image-rendering": [
407         "auto", "optimizeSpeed", "optimizeQuality", "-webkit-crisp-edges", "-webkit-optimize-contrast", "crisp-edges", "pixelated"
408     ],
409     "alignment-baseline": [
410         "baseline", "middle", "auto", "before-edge", "after-edge", "central", "text-before-edge", "text-after-edge",
411         "ideographic", "alphabetic", "hanging", "mathematical"
412     ],
413     "outline-width": [
414         "medium", "thick", "thin", "calc()"
415     ],
416     "text-line-through-width": [
417         "normal", "medium", "auto", "thick", "thin"
418     ],
419     "box-align": [
420         "baseline", "center", "stretch", "start", "end"
421     ],
422     "box-shadow": [
423         "none"
424     ],
425     "text-shadow": [
426         "none"
427     ],
428     "-webkit-box-shadow": [
429         "none"
430     ],
431     "border-right-width": [
432         "medium", "thick", "thin"
433     ],
434     "border-top-style": [
435         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double"
436     ],
437     "line-height": [
438         "normal"
439     ],
440     "counter-increment": [
441         "none"
442     ],
443     "counter-reset": [
444         "none"
445     ],
446     "text-overflow": [
447         "clip", "ellipsis"
448     ],
449     "-webkit-box-direction": [
450         "normal", "reverse"
451     ],
452     "margin-after-collapse": [
453         "collapse", "separate", "discard"
454     ],
455     "break-after": [
456          "left", "right", "recto", "verso", "auto", "avoid", "page", "column", "region", "avoid-page", "avoid-column", "avoid-region"
457     ],
458     "break-before": [
459           "left", "right", "recto", "verso", "auto", "avoid", "page", "column", "region", "avoid-page", "avoid-column", "avoid-region"
460     ],
461     "break-inside": [
462           "auto", "avoid", "avoid-page", "avoid-column", "avoid-region"
463     ],
464     "page-break-after": [
465         "left", "right", "auto", "always", "avoid"
466     ],
467     "page-break-before": [
468         "left", "right", "auto", "always", "avoid"
469     ],
470     "page-break-inside": [
471         "auto", "avoid"
472     ],
473     "-webkit-column-break-after": [
474         "left", "right", "auto", "always", "avoid"
475     ],
476     "-webkit-column-break-before": [
477         "left", "right", "auto", "always", "avoid"
478     ],
479     "-webkit-column-break-inside": [
480         "auto", "avoid"
481     ],
482     "-webkit-hyphens": [
483         "none", "auto", "manual"
484     ],
485     "border-image": [
486         "repeat", "stretch", "url()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()", "-webkit-canvas()", "cross-fade()", "image-set()"
487     ],
488     "border-image-repeat": [
489         "repeat", "stretch", "space", "round"
490     ],
491     "-webkit-mask-box-image-repeat": [
492         "repeat", "stretch", "space", "round"
493     ],
494     "position": [
495         "absolute", "fixed", "relative", "static", "-webkit-sticky"
496     ],
497     "font-family": [
498         "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph",
499         "-apple-system", "-apple-system-headline", "-apple-system-body",
500         "-apple-system-subheadline", "-apple-system-footnote", "-apple-system-caption1", "-apple-system-caption2",
501         "-apple-system-short-headline", "-apple-system-short-body", "-apple-system-short-subheadline",
502         "-apple-system-short-footnote", "-apple-system-short-caption1", "-apple-system-tall-body",
503         "-apple-system-title0", "-apple-system-title1", "-apple-system-title2", "-apple-system-title3", "-apple-system-title4", "system-ui"
504     ],
505     "text-overflow-mode": [
506         "clip", "ellipsis"
507     ],
508     "border-bottom-style": [
509         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double"
510     ],
511     "unicode-bidi": [
512         "normal", "bidi-override", "embed", "-webkit-plaintext", "-webkit-isolate", "-webkit-isolate-override"
513     ],
514     "clip-rule": [
515         "nonzero", "evenodd"
516     ],
517     "margin-left": [
518         "auto"
519     ],
520     "margin-top": [
521         "auto"
522     ],
523     "zoom": [
524         "normal", "document", "reset"
525     ],
526     "z-index": [
527         "auto"
528     ],
529     "width": [
530         "intrinsic", "min-intrinsic", "-webkit-min-content", "-webkit-max-content", "-webkit-fill-available", "-webkit-fit-content", "calc()"
531     ],
532     "height": [
533         "intrinsic", "min-intrinsic", "calc()"
534     ],
535     "max-width": [
536         "none", "intrinsic", "min-intrinsic", "-webkit-min-content", "-webkit-max-content", "-webkit-fill-available", "-webkit-fit-content", "calc()"
537     ],
538     "min-width": [
539         "intrinsic", "min-intrinsic", "-webkit-min-content", "-webkit-max-content", "-webkit-fill-available", "-webkit-fit-content", "calc()"
540     ],
541     "max-height": [
542         "none", "intrinsic", "min-intrinsic", "calc()"
543     ],
544     "min-height": [
545         "intrinsic", "min-intrinsic", "calc()"
546     ],
547     "-webkit-logical-width": [
548         "intrinsic", "min-intrinsic", "-webkit-min-content", "-webkit-max-content", "-webkit-fill-available", "-webkit-fit-content", "calc()"
549     ],
550     "-webkit-logical-height": [
551         "intrinsic", "min-intrinsic", "calc()"
552     ],
553     "-webkit-max-logical-width": [
554         "none", "intrinsic", "min-intrinsic", "-webkit-min-content", "-webkit-max-content", "-webkit-fill-available", "-webkit-fit-content", "calc()"
555     ],
556     "-webkit-min-logical-width": [
557         "intrinsic", "min-intrinsic", "-webkit-min-content", "-webkit-max-content", "-webkit-fill-available", "-webkit-fit-content", "calc()"
558     ],
559     "-webkit-max-logical-height": [
560         "none", "intrinsic", "min-intrinsic", "calc()"
561     ],
562     "-webkit-min-logical-height": [
563         "intrinsic", "min-intrinsic", "calc()"
564     ],
565     "empty-cells": [
566         "hide", "show"
567     ],
568     "pointer-events": [
569         "none", "all", "auto", "visible", "visiblepainted", "visiblefill", "visiblestroke", "painted", "fill", "stroke"
570     ],
571     "letter-spacing": [
572         "normal", "calc()"
573     ],
574     "word-spacing": [
575         "normal", "calc()"
576     ],
577     "-webkit-font-kerning": [
578         "auto", "normal", "none"
579     ],
580     "-webkit-font-smoothing": [
581         "none", "auto", "antialiased", "subpixel-antialiased"
582     ],
583     "border": [
584         "none", "hidden", "inset", "groove", "ridge", "outset", "dotted", "dashed", "solid", "double"
585     ],
586     "font-size": [
587         "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "-webkit-xxx-large", "smaller", "larger"
588     ],
589     "font-variant": [
590         "small-caps", "normal"
591     ],
592     "font-variant-numeric": [
593         "normal", "ordinal", "slashed-zero", "lining-nums", "oldstyle-nums", "proportional-nums", "tabular-nums",
594         "diagonal-fractions", "stacked-fractions"
595     ],
596     "vertical-align": [
597         "baseline", "middle", "sub", "super", "text-top", "text-bottom", "top", "bottom", "-webkit-baseline-middle"
598     ],
599     "white-space": [
600         "normal", "nowrap", "pre", "pre-line", "pre-wrap"
601     ],
602     "word-break": [
603         "normal", "break-all", "break-word"
604     ],
605     "text-underline-width": [
606         "normal", "medium", "auto", "thick", "thin", "calc()"
607     ],
608     "text-indent": [
609         "-webkit-each-line", "-webkit-hanging"
610     ],
611     "-webkit-box-lines": [
612         "single", "multiple"
613     ],
614     "clip": [
615         "auto", "rect()"
616     ],
617     "clip-path": [
618         "none", "url()", "circle()", "ellipse()", "inset()", "polygon()", "margin-box", "border-box", "padding-box", "content-box"
619     ],
620     "shape-outside": [
621         "none", "url()", "circle()", "ellipse()", "inset()", "polygon()", "margin-box", "border-box", "padding-box", "content-box"
622     ],
623     "orphans": [
624         "auto"
625     ],
626     "widows": [
627         "auto"
628     ],
629     "margin": [
630         "auto"
631     ],
632     "page": [
633         "auto"
634     ],
635     "perspective": [
636         "none"
637     ],
638     "perspective-origin": [
639         "none", "left", "right", "bottom", "top", "center"
640     ],
641     "-webkit-marquee-increment": [
642         "small", "large", "medium"
643     ],
644     "-webkit-marquee-direction": [
645         "left", "right", "auto", "reverse", "forwards", "backwards", "ahead", "up", "down"
646     ],
647     "-webkit-marquee-style": [
648         "none", "scroll", "slide", "alternate"
649     ],
650     "-webkit-marquee-repetition": [
651         "infinite"
652     ],
653     "-webkit-marquee-speed": [
654         "normal", "slow", "fast"
655     ],
656     "margin-right": [
657         "auto"
658     ],
659     "marquee-speed": [
660         "normal", "slow", "fast"
661     ],
662     "-webkit-text-emphasis": [
663         "circle", "filled", "open", "dot", "double-circle", "triangle", "sesame"
664     ],
665     "-webkit-text-emphasis-style": [
666         "circle", "filled", "open", "dot", "double-circle", "triangle", "sesame"
667     ],
668     "-webkit-text-emphasis-position": [
669         "over", "under", "left", "right"
670     ],
671     "transform": [
672         "none",
673         "scale()", "scaleX()", "scaleY()", "scale3d()", "rotate()", "rotateX()", "rotateY()", "rotateZ()", "rotate3d()", "skew()", "skewX()", "skewY()",
674         "translate()", "translateX()", "translateY()", "translateZ()", "translate3d()", "matrix()", "matrix3d()", "perspective()"
675     ],
676     "transform-style": [
677         "flat", "preserve-3d"
678     ],
679     "-webkit-cursor-visibility": [
680         "auto", "auto-hide"
681     ],
682     "text-decoration": [
683         "none", "underline", "overline", "line-through", "blink"
684     ],
685     "-webkit-text-decorations-in-effect": [
686         "none", "underline", "overline", "line-through", "blink"
687     ],
688     "-webkit-text-decoration-line": [
689         "none", "underline", "overline", "line-through", "blink"
690     ],
691     "-webkit-text-decoration-style": [
692         "solid", "double", "dotted", "dashed", "wavy"
693     ],
694     "-webkit-text-decoration-skip": [
695         "auto", "none", "objects", "ink"
696     ],
697     "-webkit-text-underline-position": [
698         "auto", "alphabetic", "under"
699     ],
700     "image-resolution": [
701         "from-image", "snap"
702     ],
703     "-webkit-blend-mode": [
704         "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "plus-darker", "plus-lighter", "hue", "saturation", "color", "luminosity",
705     ],
706     "mix-blend-mode": [
707         "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "plus-darker", "plus-lighter", "hue", "saturation", "color", "luminosity",
708     ],
709     "mix": [
710         "auto",
711         "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "plus-darker", "plus-lighter", "hue", "saturation", "color", "luminosity",
712         "clear", "copy", "destination", "source-over", "destination-over", "source-in", "destination-in", "source-out", "destination-out", "source-atop", "destination-atop", "xor"
713     ],
714     "geometry": [
715         "detached", "attached", "grid()"
716     ],
717     "overflow-wrap": [
718         "normal", "break-word"
719     ],
720     "transition": [
721         "none", "ease", "linear", "ease-in", "ease-out", "ease-in-out", "step-start", "step-end", "steps()", "cubic-bezier()", "spring()", "all", WebInspector.CSSKeywordCompletions.AllPropertyNamesPlaceholder
722     ],
723     "transition-timing-function": [
724         "ease", "linear", "ease-in", "ease-out", "ease-in-out", "step-start", "step-end", "steps()", "cubic-bezier()", "spring()"
725     ],
726     "transition-property": [
727         "all", "none", WebInspector.CSSKeywordCompletions.AllPropertyNamesPlaceholder
728     ],
729     "-webkit-column-progression": [
730         "normal", "reverse"
731     ],
732     "-webkit-box-decoration-break": [
733         "slice", "clone"
734     ],
735     "align-content": [
736         "auto",
737         "baseline", "last-baseline",
738         "space-between", "space-around", "space-evenly", "stretch",
739         "center", "start", "end", "flex-start", "flex-end", "left", "right",
740         "true", "safe"
741     ],
742     "justify-content": [
743         "auto",
744         "baseline", "last-baseline", "space-between", "space-around", "space-evenly", "stretch",
745         "center", "start", "end", "flex-start", "flex-end", "left", "right",
746         "true", "safe"
747     ],
748     "align-items": [
749         "auto", "stretch",
750         "baseline", "last-baseline",
751         "center", "start", "end", "self-start", "self-end", "flex-start", "flex-end", "left", "right",
752         "true", "safe"
753     ],
754     "align-self": [
755         "auto", "stretch",
756         "baseline", "last-baseline",
757         "center", "start", "end", "self-start", "self-end", "flex-start", "flex-end", "left", "right",
758         "true", "safe"
759     ],
760     "justify-items": [
761         "auto", "stretch",
762         "baseline", "last-baseline",
763         "center", "start", "end", "self-start", "self-end", "flex-start", "flex-end", "left", "right",
764         "true", "safe"
765     ],
766     "justify-self": [
767         "auto", "stretch",
768         "baseline", "last-baseline",
769         "center", "start", "end", "self-start", "self-end", "flex-start", "flex-end", "left", "right",
770         "true", "safe"
771     ],
772     "flex-direction": [
773         "row", "row-reverse", "column", "column-reverse"
774     ],
775     "flex-wrap": [
776         "nowrap", "wrap", "wrap-reverse"
777     ],
778     "flex-flow": [
779         "row", "row-reverse", "column", "column-reverse",
780         "nowrap", "wrap", "wrap-reverse"
781     ],
782     "flex": [
783         "none"
784     ],
785     "flex-basis": [
786         "auto"
787     ],
788     "grid": [
789         "none"
790     ],
791     "grid-area": [
792         "auto"
793     ],
794     "grid-auto-columns": [
795         "auto", "-webkit-max-content", "-webkit-min-content", "minmax()",
796     ],
797     "grid-auto-flow": [
798         "row", "column", "dense"
799     ],
800     "grid-auto-rows": [
801         "auto", "-webkit-max-content", "-webkit-min-content", "minmax()",
802     ],
803     "grid-column": [
804         "auto"
805     ],
806     "grid-column-start": [
807         "auto"
808     ],
809     "grid-column-end": [
810         "auto"
811     ],
812     "grid-row": [
813         "auto"
814     ],
815     "grid-row-start": [
816         "auto"
817     ],
818     "grid-row-end": [
819         "auto"
820     ],
821     "grid-template": [
822         "none"
823     ],
824     "grid-template-areas": [
825         "none"
826     ],
827     "grid-template-columns": [
828         "none", "auto", "-webkit-max-content", "-webkit-min-content", "minmax()", "repeat()"
829     ],
830     "grid-template-rows": [
831         "none", "auto", "-webkit-max-content", "-webkit-min-content", "minmax()", "repeat()"
832     ],
833     "-webkit-ruby-position": [
834         "after", "before", "inter-character"
835     ],
836     "-webkit-text-align-last": [
837         "auto", "start", "end", "left", "right", "center", "justify"
838     ],
839     "-webkit-text-justify": [
840         "auto", "none", "inter-word", "inter-ideograph", "inter-cluster", "distribute", "kashida"
841     ],
842     "max-zoom": [
843         "auto"
844     ],
845     "min-zoom": [
846         "auto"
847     ],
848     "orientation": [
849         "auto", "portait", "landscape"
850     ],
851     "scroll-snap-align": [
852         "none", "start", "center", "end"
853     ],
854     "scroll-snap-type": [
855         "none", "mandatory", "proximity", "x", "y", "inline", "block", "both"
856     ],
857     "user-zoom": [
858         "zoom", "fixed"
859     ],
860     "-webkit-app-region": [
861         "drag", "no-drag"
862     ],
863     "-webkit-line-break": [
864         "auto", "loose", "normal", "strict", "after-white-space"
865     ],
866     "-webkit-background-composite": [
867         "clear", "copy", "source-over", "source-in", "source-out", "source-atop", "destination-over", "destination-in", "destination-out", "destination-atop", "xor", "plus-darker", "plus-lighter"
868     ],
869     "-webkit-mask-composite": [
870         "clear", "copy", "source-over", "source-in", "source-out", "source-atop", "destination-over", "destination-in", "destination-out", "destination-atop", "xor", "plus-darker", "plus-lighter"
871     ],
872     "-webkit-animation-direction": [
873         "normal", "alternate", "reverse", "alternate-reverse"
874     ],
875     "-webkit-animation-fill-mode": [
876         "none", "forwards", "backwards", "both"
877     ],
878     "-webkit-animation-iteration-count": [
879         "infinite"
880     ],
881     "-webkit-animation-play-state": [
882         "paused", "running"
883     ],
884     "-webkit-animation-timing-function": [
885         "ease", "linear", "ease-in", "ease-out", "ease-in-out", "step-start", "step-end", "steps()", "cubic-bezier()", "spring()"
886     ],
887     "-webkit-column-span": [
888         "all", "none", "calc()"
889     ],
890     "-webkit-region-break-after": [
891         "auto", "always", "avoid", "left", "right"
892     ],
893     "-webkit-region-break-before": [
894         "auto", "always", "avoid", "left", "right"
895     ],
896     "-webkit-region-break-inside": [
897         "auto", "avoid"
898     ],
899     "-webkit-region-overflow": [
900         "auto", "break"
901     ],
902     "-webkit-backface-visibility": [
903         "visible", "hidden"
904     ],
905     "resize": [
906         "none", "both", "horizontal", "vertical", "auto"
907     ],
908     "caption-side": [
909         "top", "bottom", "left", "right"
910     ],
911     "box-sizing": [
912         "border-box", "content-box"
913     ],
914     "-webkit-alt": [
915         "attr()"
916     ],
917     "-webkit-border-fit": [
918         "border", "lines"
919     ],
920     "-webkit-line-align": [
921         "none", "edges"
922     ],
923     "-webkit-line-snap": [
924         "none", "baseline", "contain"
925     ],
926     "-webkit-nbsp-mode": [
927         "normal", "space"
928     ],
929     "-webkit-print-color-adjust": [
930         "exact", "economy"
931     ],
932     "-webkit-rtl-ordering": [
933         "logical", "visual"
934     ],
935     "-webkit-text-security": [
936         "disc", "circle", "square", "none"
937     ],
938     "-webkit-user-drag": [
939         "auto", "none", "element"
940     ],
941     "-webkit-user-modify": [
942         "read-only", "read-write", "read-write-plaintext-only"
943     ],
944     "-webkit-user-select": [
945         "auto", "none", "text", "all"
946     ],
947     "-webkit-text-stroke-width": [
948         "medium", "thick", "thin", "calc()"
949     ],
950     "-webkit-border-start-width": [
951         "medium", "thick", "thin", "calc()"
952     ],
953     "-webkit-border-end-width": [
954         "medium", "thick", "thin", "calc()"
955     ],
956     "-webkit-border-before-width": [
957         "medium", "thick", "thin", "calc()"
958     ],
959     "-webkit-border-after-width": [
960         "medium", "thick", "thin", "calc()"
961     ],
962     "-webkit-column-rule-width": [
963         "medium", "thick", "thin", "calc()"
964     ],
965     "-webkit-aspect-ratio": [
966         "auto", "from-dimensions", "from-intrinsic", "/"
967     ],
968     "filter": [
969         "none", "grayscale()", "sepia()", "saturate()", "hue-rotate()", "invert()", "opacity()", "brightness()", "contrast()", "blur()", "drop-shadow()", "custom()"
970     ],
971     "-webkit-backdrop-filter": [
972         "none", "grayscale()", "sepia()", "saturate()", "hue-rotate()", "invert()", "opacity()", "brightness()", "contrast()", "blur()", "drop-shadow()", "custom()"
973     ],
974     "-webkit-column-count": [
975         "auto", "calc()"
976     ],
977     "-webkit-column-gap": [
978         "normal", "calc()"
979     ],
980     "-webkit-column-axis": [
981         "horizontal", "vertical", "auto"
982     ],
983     "-webkit-column-width": [
984         "auto", "calc()"
985     ],
986     "-webkit-column-fill": [
987         "auto", "balance"
988     ],
989     "-webkit-hyphenate-character": [
990         "none"
991     ],
992     "-webkit-hyphenate-limit-after": [
993         "auto"
994     ],
995     "-webkit-hyphenate-limit-before": [
996         "auto"
997     ],
998     "-webkit-hyphenate-limit-lines": [
999         "no-limit"
1000     ],
1001     "-webkit-line-grid": [
1002         "none"
1003     ],
1004     "-webkit-locale": [
1005         "auto"
1006     ],
1007     "-webkit-text-orientation": [
1008         "sideways", "sideways-right", "vertical-right", "upright"
1009     ],
1010     "-webkit-line-box-contain": [
1011         "block", "inline", "font", "glyphs", "replaced", "inline-box", "none"
1012     ],
1013     "font-feature-settings": [
1014         "normal"
1015     ],
1016     "-webkit-font-variant-ligatures": [
1017         "normal", "common-ligatures", "no-common-ligatures", "discretionary-ligatures", "no-discretionary-ligatures", "historical-ligatures", "no-historical-ligatures"
1018     ],
1019     /*
1020     "-webkit-appearance": [
1021         "none", "checkbox", "radio", "push-button", "square-button", "button", "button-bevel", "default-button", "inner-spin-button", "listbox", "listitem", "media-enter-fullscreen-button", "media-exit-fullscreen-button", "media-fullscreen-volume-slider", "media-fullscreen-volume-slider-thumb", "media-mute-button", "media-play-button", "media-overlay-play-button", "media-seek-back-button", "media-seek-forward-button", "media-rewind-button", "media-return-to-realtime-button", "media-toggle-closed-captions-button", "media-slider", "media-sliderthumb", "media-volume-slider-container", "media-volume-slider", "media-volume-sliderthumb", "media-volume-slider-mute-button", "media-controls-background", "media-controls-fullscreen-background", "media-current-time-display", "media-time-remaining-display", "menulist", "menulist-button", "menulist-text", "menulist-textfield", "meter", "progress-bar", "progress-bar-value", "slider-horizontal", "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "caret", "searchfield", "searchfield-decoration", "searchfield-results-decoration", "searchfield-results-button", "searchfield-cancel-button", "snapshotted-plugin-overlay", "textfield", "relevancy-level-indicator", "continuous-capacity-level-indicator", "discrete-capacity-level-indicator", "rating-level-indicator", "textarea", "attachment", "caps-lock-indicator"
1022     ],
1023     */
1024     "-webkit-animation-trigger": [
1025         "auto", "container-scroll()"
1026     ],
1027
1028     // iOS Properties
1029     "-webkit-text-size-adjust": [
1030         "none", "auto"
1031     ],
1032     "-webkit-touch-callout": [
1033         "default", "none"
1034     ],
1035     "-webkit-overflow-scrolling": [
1036         "auto", "touch"
1037     ]
1038 };