forked from stylish-userstyles/stylish
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcodemirror-patches.patch
More file actions
416 lines (406 loc) · 31.5 KB
/
Copy pathcodemirror-patches.patch
File metadata and controls
416 lines (406 loc) · 31.5 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
--- src/content/codemirror/mode/css/css.js 2026-07-13 21:02:11.249125822 +0100
+++ src/content/codemirror/mode/css/css.js 2026-07-13 20:49:49.986835526 +0100
@@ -429,160 +429,119 @@
], documentTypes = keySet(documentTypes_);
var mediaTypes_ = [
- "all", "aural", "braille", "handheld", "print", "projection", "screen",
- "tty", "tv", "embossed"
+ "all", "aural", "braille", "embossed", "handheld", "print", "projection", "screen", "tty",
+ "tv"
], mediaTypes = keySet(mediaTypes_);
var mediaFeatures_ = [
- "width", "min-width", "max-width", "height", "min-height", "max-height",
- "device-width", "min-device-width", "max-device-width", "device-height",
- "min-device-height", "max-device-height", "aspect-ratio",
- "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio",
- "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color",
- "max-color", "color-index", "min-color-index", "max-color-index",
- "monochrome", "min-monochrome", "max-monochrome", "resolution",
- "min-resolution", "max-resolution", "scan", "grid", "orientation",
- "device-pixel-ratio", "min-device-pixel-ratio", "max-device-pixel-ratio",
- "pointer", "any-pointer", "hover", "any-hover", "prefers-color-scheme",
- "dynamic-range", "video-dynamic-range"
+ "-moz-color-picker-available", "-moz-dark-theme", "-moz-device-orientation",
+ "-moz-device-pixel-ratio", "-moz-is-resource-document", "-moz-menubar-drag",
+ "-moz-os-version", "-moz-overlay-scrollbars", "-moz-physical-home-button",
+ "-moz-scrollbar-end-backward", "-moz-scrollbar-end-forward",
+ "-moz-scrollbar-start-backward", "-moz-scrollbar-start-forward",
+ "-moz-scrollbar-thumb-proportional", "-moz-swipe-animation-enabled", "-moz-touch-enabled",
+ "-moz-windows-accent-color-applies", "-moz-windows-accent-color-is-dark",
+ "-moz-windows-classic", "-moz-windows-compositor", "-moz-windows-default-theme",
+ "-moz-windows-glass", "-moz-windows-theme", "any-hover", "any-pointer", "aspect-ratio",
+ "color", "color-index", "device-aspect-ratio", "device-height", "device-pixel-ratio",
+ "device-width", "display-mode", "grid", "height", "hover", "monochrome", "orientation",
+ "pointer", "prefers-color-scheme", "prefers-reduced-motion", "resolution", "scan", "width"
], mediaFeatures = keySet(mediaFeatures_);
var mediaValueKeywords_ = [
- "landscape", "portrait", "none", "coarse", "fine", "on-demand", "hover",
- "interlace", "progressive",
- "dark", "light",
- "standard", "high"
+ "coarse", "dark", "fine", "hover", "interlace", "landscape", "light", "none", "portrait",
+ "progressive", "standalone"
], mediaValueKeywords = keySet(mediaValueKeywords_);
var propertyKeywords_ = [
- "align-content", "align-items", "align-self", "alignment-adjust",
- "alignment-baseline", "all", "anchor-point", "animation", "animation-delay",
+ "align-content", "align-items", "align-self", "all", "animation", "animation-delay",
"animation-direction", "animation-duration", "animation-fill-mode",
"animation-iteration-count", "animation-name", "animation-play-state",
- "animation-timing-function", "appearance", "azimuth", "backdrop-filter",
- "backface-visibility", "background", "background-attachment",
- "background-blend-mode", "background-clip", "background-color",
- "background-image", "background-origin", "background-position",
- "background-position-x", "background-position-y", "background-repeat",
- "background-size", "baseline-shift", "binding", "bleed", "block-size",
- "bookmark-label", "bookmark-level", "bookmark-state", "bookmark-target",
- "border", "border-bottom", "border-bottom-color", "border-bottom-left-radius",
+ "animation-timing-function", "appearance", "aspect-ratio", "backface-visibility",
+ "background", "background-attachment", "background-blend-mode", "background-clip",
+ "background-color", "background-image", "background-origin", "background-position",
+ "background-position-x", "background-position-y", "background-repeat", "background-size",
+ "block-size", "border", "border-block-end", "border-block-end-color",
+ "border-block-end-style", "border-block-end-width", "border-block-start",
+ "border-block-start-color", "border-block-start-style", "border-block-start-width",
+ "border-bottom", "border-bottom-color", "border-bottom-left-radius",
"border-bottom-right-radius", "border-bottom-style", "border-bottom-width",
- "border-collapse", "border-color", "border-image", "border-image-outset",
- "border-image-repeat", "border-image-slice", "border-image-source",
- "border-image-width", "border-left", "border-left-color", "border-left-style",
+ "border-collapse", "border-color", "border-end-end-radius", "border-end-start-radius",
+ "border-image", "border-image-outset", "border-image-repeat", "border-image-slice",
+ "border-image-source", "border-image-width", "border-inline-end",
+ "border-inline-end-color", "border-inline-end-style", "border-inline-end-width",
+ "border-inline-start", "border-inline-start-color", "border-inline-start-style",
+ "border-inline-start-width", "border-left", "border-left-color", "border-left-style",
"border-left-width", "border-radius", "border-right", "border-right-color",
- "border-right-style", "border-right-width", "border-spacing", "border-style",
- "border-top", "border-top-color", "border-top-left-radius",
- "border-top-right-radius", "border-top-style", "border-top-width",
- "border-width", "bottom", "box-decoration-break", "box-shadow", "box-sizing",
- "break-after", "break-before", "break-inside", "caption-side", "caret-color",
- "clear", "clip", "color", "color-profile", "column-count", "column-fill",
- "column-gap", "column-rule", "column-rule-color", "column-rule-style",
- "column-rule-width", "column-span", "column-width", "columns", "contain",
- "content", "counter-increment", "counter-reset", "crop", "cue", "cue-after",
- "cue-before", "cursor", "direction", "display", "dominant-baseline",
- "drop-initial-after-adjust", "drop-initial-after-align",
- "drop-initial-before-adjust", "drop-initial-before-align", "drop-initial-size",
- "drop-initial-value", "elevation", "empty-cells", "fit", "fit-content", "fit-position",
- "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow",
- "flex-shrink", "flex-wrap", "float", "float-offset", "flow-from", "flow-into",
- "font", "font-family", "font-feature-settings", "font-kerning",
- "font-language-override", "font-optical-sizing", "font-size",
- "font-size-adjust", "font-stretch", "font-style", "font-synthesis",
- "font-variant", "font-variant-alternates", "font-variant-caps",
+ "border-right-style", "border-right-width", "border-spacing", "border-start-end-radius",
+ "border-start-start-radius", "border-style", "border-top", "border-top-color",
+ "border-top-left-radius", "border-top-right-radius", "border-top-style",
+ "border-top-width", "border-width", "bottom", "box-decoration-break", "box-shadow",
+ "box-sizing", "caption-side", "caret-color", "clear", "clip", "color", "color-adjust",
+ "column-count", "column-fill", "column-gap", "column-rule", "column-rule-color",
+ "column-rule-style", "column-rule-width", "column-width", "columns", "contain", "content",
+ "counter-increment", "counter-reset", "cursor", "direction", "display", "empty-cells",
+ "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow", "flex-shrink",
+ "flex-wrap", "float", "font", "font-family", "font-feature-settings", "font-kerning",
+ "font-language-override", "font-size", "font-size-adjust", "font-stretch", "font-style",
+ "font-synthesis", "font-variant", "font-variant-alternates", "font-variant-caps",
"font-variant-east-asian", "font-variant-ligatures", "font-variant-numeric",
- "font-variant-position", "font-variation-settings", "font-weight", "gap",
- "grid", "grid-area", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows",
- "grid-column", "grid-column-end", "grid-column-gap", "grid-column-start",
- "grid-gap", "grid-row", "grid-row-end", "grid-row-gap", "grid-row-start",
- "grid-template", "grid-template-areas", "grid-template-columns",
- "grid-template-rows", "hanging-punctuation", "height", "hyphens", "icon",
- "image-orientation", "image-rendering", "image-resolution", "inline-box-align",
+ "font-variant-position", "font-variation-settings", "font-weight", "gap", "grid",
+ "grid-area", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-column",
+ "grid-column-end", "grid-column-start", "grid-row", "grid-row-end", "grid-row-start",
+ "grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows",
+ "height", "hyphens", "image-orientation", "ime-mode", "initial-letter", "inline-size",
"inset", "inset-block", "inset-block-end", "inset-block-start", "inset-inline",
- "inset-inline-end", "inset-inline-start", "isolation", "justify-content",
- "justify-items", "justify-self", "left", "letter-spacing", "line-break",
- "line-height", "line-height-step", "line-stacking", "line-stacking-ruby",
- "line-stacking-shift", "line-stacking-strategy", "list-style",
- "list-style-image", "list-style-position", "list-style-type", "margin",
- "margin-bottom", "margin-left", "margin-right", "margin-top", "marks",
- "marquee-direction", "marquee-loop", "marquee-play-count", "marquee-speed",
- "marquee-style", "mask-clip", "mask-composite", "mask-image", "mask-mode",
- "mask-origin", "mask-position", "mask-repeat", "mask-size","mask-type",
- "max-block-size", "max-height", "max-inline-size",
- "max-width", "min-block-size", "min-height", "min-inline-size", "min-width",
- "mix-blend-mode", "move-to", "nav-down", "nav-index", "nav-left", "nav-right",
- "nav-up", "object-fit", "object-position", "offset", "offset-anchor",
- "offset-distance", "offset-path", "offset-position", "offset-rotate",
- "opacity", "order", "orphans", "outline", "outline-color", "outline-offset",
- "outline-style", "outline-width", "overflow", "overflow-style",
- "overflow-wrap", "overflow-x", "overflow-y", "padding", "padding-bottom",
- "padding-left", "padding-right", "padding-top", "page", "page-break-after",
- "page-break-before", "page-break-inside", "page-policy", "pause",
- "pause-after", "pause-before", "perspective", "perspective-origin", "pitch",
- "pitch-range", "place-content", "place-items", "place-self", "play-during",
- "position", "presentation-level", "punctuation-trim", "quotes",
- "region-break-after", "region-break-before", "region-break-inside",
- "region-fragment", "rendering-intent", "resize", "rest", "rest-after",
- "rest-before", "richness", "right", "rotate", "rotation", "rotation-point",
- "row-gap", "ruby-align", "ruby-overhang", "ruby-position", "ruby-span",
- "scale", "scroll-behavior", "scroll-margin", "scroll-margin-block",
- "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-bottom",
- "scroll-margin-inline", "scroll-margin-inline-end",
- "scroll-margin-inline-start", "scroll-margin-left", "scroll-margin-right",
- "scroll-margin-top", "scroll-padding", "scroll-padding-block",
- "scroll-padding-block-end", "scroll-padding-block-start",
- "scroll-padding-bottom", "scroll-padding-inline", "scroll-padding-inline-end",
- "scroll-padding-inline-start", "scroll-padding-left", "scroll-padding-right",
- "scroll-padding-top", "scroll-snap-align", "scroll-snap-type",
- "shape-image-threshold", "shape-inside", "shape-margin", "shape-outside",
- "size", "speak", "speak-as", "speak-header", "speak-numeral",
- "speak-punctuation", "speech-rate", "stress", "string-set", "tab-size",
- "table-layout", "target", "target-name", "target-new", "target-position",
- "text-align", "text-align-last", "text-combine-upright", "text-decoration",
- "text-decoration-color", "text-decoration-line", "text-decoration-skip",
- "text-decoration-skip-ink", "text-decoration-style", "text-emphasis",
- "text-emphasis-color", "text-emphasis-position", "text-emphasis-style",
- "text-height", "text-indent", "text-justify", "text-orientation",
- "text-outline", "text-overflow", "text-rendering", "text-shadow",
- "text-size-adjust", "text-space-collapse", "text-transform",
- "text-underline-position", "text-wrap", "top", "touch-action", "transform", "transform-origin",
- "transform-style", "transition", "transition-delay", "transition-duration",
- "transition-property", "transition-timing-function", "translate",
- "unicode-bidi", "user-select", "vertical-align", "visibility", "voice-balance",
- "voice-duration", "voice-family", "voice-pitch", "voice-range", "voice-rate",
- "voice-stress", "voice-volume", "volume", "white-space", "widows", "width",
- "will-change", "word-break", "word-spacing", "word-wrap", "writing-mode", "z-index",
+ "inset-inline-end", "inset-inline-start", "isolation", "justify-content", "justify-items",
+ "justify-self", "left", "letter-spacing", "line-height", "list-style", "list-style-image",
+ "list-style-position", "list-style-type", "margin", "margin-block", "margin-block-end",
+ "margin-block-start", "margin-bottom", "margin-inline", "margin-inline-end",
+ "margin-inline-start", "margin-left", "margin-right", "margin-top", "mask-clip",
+ "mask-composite", "mask-image", "mask-mode", "mask-origin", "mask-position",
+ "mask-position-x", "mask-position-y", "mask-repeat", "mask-size", "mask-type",
+ "max-block-size", "max-height", "max-inline-size", "max-width", "min-block-size",
+ "min-height", "min-inline-size", "min-width", "mix-blend-mode", "object-fit",
+ "object-position", "opacity", "order", "outline", "outline-color", "outline-offset",
+ "outline-style", "outline-width", "overflow", "overflow-block", "overflow-clip-box",
+ "overflow-inline", "overflow-wrap", "overflow-x", "overflow-y", "padding", "padding-block",
+ "padding-block-end", "padding-block-start", "padding-bottom", "padding-inline",
+ "padding-inline-end", "padding-inline-start", "padding-left", "padding-right",
+ "padding-top", "page-break-after", "page-break-before", "page-break-inside", "perspective",
+ "perspective-origin", "place-content", "place-items", "place-self", "position", "quotes",
+ "resize", "right", "row-gap", "ruby-align", "ruby-position", "scroll-behavior",
+ "scroll-snap-coordinate", "scroll-snap-destination", "scroll-snap-points-x",
+ "scroll-snap-points-y", "scroll-snap-type", "scroll-snap-type-x", "scroll-snap-type-y",
+ "scrollbar-width", "shape-outside", "tab-size", "table-layout", "text-align",
+ "text-align-last", "text-combine-upright", "text-decoration", "text-decoration-color",
+ "text-decoration-line", "text-decoration-style", "text-emphasis", "text-emphasis-color",
+ "text-emphasis-position", "text-emphasis-style", "text-indent", "text-justify",
+ "text-orientation", "text-overflow", "text-shadow", "text-transform", "top",
+ "touch-action", "transform", "transform-box", "transform-origin", "transform-style",
+ "transition", "transition-delay", "transition-duration", "transition-property",
+ "transition-timing-function", "unicode-bidi", "user-select", "vector-effect",
+ "vertical-align", "visibility", "white-space", "width", "will-change", "word-break",
+ "word-spacing", "z-index",
// SVG-specific
- "clip-path", "clip-rule", "mask", "enable-background", "filter", "flood-color",
- "flood-opacity", "lighting-color", "stop-color", "stop-opacity", "pointer-events",
- "color-interpolation", "color-interpolation-filters",
- "color-rendering", "fill", "fill-opacity", "fill-rule", "image-rendering",
- "marker", "marker-end", "marker-mid", "marker-start", "paint-order", "shape-rendering", "stroke",
- "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin",
- "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-rendering",
- "baseline-shift", "dominant-baseline", "glyph-orientation-horizontal",
- "glyph-orientation-vertical", "text-anchor", "writing-mode",
+ "clip-path", "clip-rule", "color-interpolation", "color-interpolation-filters",
+ "dominant-baseline", "fill", "fill-opacity", "fill-rule", "filter", "flood-color",
+ "flood-opacity", "image-rendering", "lighting-color", "marker", "marker-end", "marker-mid",
+ "marker-start", "mask", "paint-order", "pointer-events", "shape-rendering", "stop-color",
+ "stop-opacity", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap",
+ "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-anchor",
+ "text-rendering", "writing-mode"
], propertyKeywords = keySet(propertyKeywords_);
var nonStandardPropertyKeywords_ = [
- "accent-color", "aspect-ratio", "border-block", "border-block-color", "border-block-end",
- "border-block-end-color", "border-block-end-style", "border-block-end-width",
- "border-block-start", "border-block-start-color", "border-block-start-style",
- "border-block-start-width", "border-block-style", "border-block-width",
- "border-inline", "border-inline-color", "border-inline-end",
- "border-inline-end-color", "border-inline-end-style",
- "border-inline-end-width", "border-inline-start", "border-inline-start-color",
- "border-inline-start-style", "border-inline-start-width",
- "border-inline-style", "border-inline-width", "content-visibility", "margin-block",
- "margin-block-end", "margin-block-start", "margin-inline", "margin-inline-end",
- "margin-inline-start", "overflow-anchor", "overscroll-behavior", "padding-block", "padding-block-end",
- "padding-block-start", "padding-inline", "padding-inline-end",
- "padding-inline-start", "scroll-snap-stop", "scrollbar-3d-light-color",
- "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color",
- "scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color",
- "scrollbar-track-color", "searchfield-cancel-button", "searchfield-decoration",
- "searchfield-results-button", "searchfield-results-decoration", "shape-inside", "zoom"
+ "-moz-binding", "-moz-border-bottom-colors", "-moz-border-left-colors",
+ "-moz-border-right-colors", "-moz-border-top-colors", "-moz-box-align",
+ "-moz-box-direction", "-moz-box-flex", "-moz-box-ordinal-group", "-moz-box-orient",
+ "-moz-box-pack", "-moz-float-edge", "-moz-force-broken-image-icon", "-moz-image-region",
+ "-moz-orient", "-moz-osx-font-smoothing", "-moz-outline-radius",
+ "-moz-outline-radius-bottomleft", "-moz-outline-radius-bottomright",
+ "-moz-outline-radius-topleft", "-moz-outline-radius-topright", "-moz-stack-sizing",
+ "-moz-text-size-adjust", "-moz-transform", "-moz-user-focus", "-moz-user-input",
+ "-moz-user-modify", "-moz-window-dragging", "-webkit-text-fill-color",
+ "-webkit-text-stroke", "-webkit-text-stroke-color", "-webkit-text-stroke-width"
], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_);
var fontProperties_ = [
@@ -625,96 +584,58 @@
], colorKeywords = keySet(colorKeywords_);
var valueKeywords_ = [
- "above", "absolute", "activeborder", "additive", "activecaption", "afar",
- "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate",
- "always", "amharic", "amharic-abegede", "antialiased", "appworkspace",
- "arabic-indic", "armenian", "asterisks", "attr", "auto", "auto-flow", "avoid", "avoid-column", "avoid-page",
- "avoid-region", "axis-pan", "background", "backwards", "baseline", "below", "bidi-override", "binary",
- "bengali", "blink", "block", "block-axis", "blur", "bold", "bolder", "border", "border-box",
- "both", "bottom", "break", "break-all", "break-word", "brightness", "bullets", "button",
- "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "cambodian",
- "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
- "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch",
- "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
- "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse",
- "compact", "condensed", "conic-gradient", "contain", "content", "contents",
- "content-box", "context-menu", "continuous", "contrast", "copy", "counter", "counters", "cover", "crop",
- "cross", "crosshair", "cubic-bezier", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal",
- "decimal-leading-zero", "default", "default-button", "dense", "destination-atop",
- "destination-in", "destination-out", "destination-over", "devanagari", "difference",
- "disc", "discard", "disclosure-closed", "disclosure-open", "document",
- "dot-dash", "dot-dot-dash",
- "dotted", "double", "down", "drop-shadow", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out",
- "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede",
- "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er",
- "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er",
- "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et",
- "ethiopic-halehame-gez", "ethiopic-halehame-om-et",
- "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
- "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig",
+ "absolute", "activeborder", "activecaption", "additive", "alias", "all", "all-scroll",
+ "alphabetic", "alternate", "always", "anywhere", "appworkspace", "auto", "auto-fill",
+ "auto-fit", "auto-flow", "avoid", "background", "backwards", "balance", "baseline",
+ "bidi-override", "blink", "block", "block-axis", "blur", "bold", "bolder", "border-box",
+ "both", "bottom", "break-all", "break-spaces", "break-word", "brightness", "bullets",
+ "button", "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "capitalize",
+ "caption", "captiontext", "caret", "cell", "center", "checkbox", "circle", "cjk-decimal",
+ "clip", "clone", "close-quote", "col-resize", "collapse", "color", "color-burn",
+ "color-dodge", "column", "column-reverse", "condensed", "contain", "content",
+ "content-box", "contents", "context-menu", "continuous", "contrast", "copy", "cover",
+ "crop", "cross", "crosshair", "currentcolor", "cursive", "cyclic", "darken", "dashed",
+ "decimal", "default", "dense", "difference", "disc", "disclosure-closed",
+ "disclosure-open", "dotted", "double", "drop-shadow", "e-resize", "ease", "ease-in",
+ "ease-in-out", "ease-out", "element", "ellipse", "ellipsis", "embed", "end",
"ethiopic-numeric", "ew-resize", "exclusion", "expanded", "extends", "extra-condensed",
- "extra-expanded", "fantasy", "fast", "fill", "fill-box", "fixed", "flat", "flex", "flex-end", "flex-start", "footnotes",
- "forwards", "from", "geometricPrecision", "georgian", "grayscale", "graytext", "grid", "groove",
- "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hard-light", "hebrew",
- "help", "hidden", "hide", "higher", "highlight", "highlighttext",
- "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "hue", "hue-rotate", "icon", "ignore",
- "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
- "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",
- "inline-block", "inline-flex", "inline-grid", "inline-table", "inset", "inside", "intrinsic", "invert",
- "italic", "japanese-formal", "japanese-informal", "justify", "kannada",
- "katakana", "katakana-iroha", "keep-all", "khmer",
- "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal",
- "landscape", "lao", "large", "larger", "left", "level", "lighter", "lighten",
- "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox", "listitem",
- "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian",
- "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian",
- "lower-roman", "lowercase", "ltr", "luminosity", "malayalam", "manipulation", "match", "matrix", "matrix3d",
- "media-play-button", "media-slider", "media-sliderthumb",
- "media-volume-slider", "media-volume-sliderthumb", "medium",
- "menu", "menulist", "menulist-button",
- "menutext", "message-box", "middle", "min-intrinsic",
- "mix", "mongolian", "monospace", "move", "multiple", "multiple_mask_images", "multiply", "myanmar", "n-resize",
- "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop",
- "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap",
- "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique", "octal", "opacity", "open-quote",
- "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset",
- "outside", "outside-shape", "overlay", "overline", "padding", "padding-box",
- "painted", "page", "paused", "persian", "perspective", "pinch-zoom", "plus-darker", "plus-lighter",
- "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d",
- "progress", "push-button", "radial-gradient", "radio", "read-only",
- "read-write", "read-write-plaintext-only", "rectangle", "region",
- "relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient",
- "repeating-conic-gradient", "repeat-x", "repeat-y", "reset", "reverse",
- "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY",
- "rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running",
- "s-resize", "sans-serif", "saturate", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen",
- "scroll", "scrollbar", "scroll-position", "se-resize", "searchfield",
- "searchfield-cancel-button", "searchfield-decoration",
- "searchfield-results-button", "searchfield-results-decoration", "self-start", "self-end",
- "semi-condensed", "semi-expanded", "separate", "sepia", "serif", "show", "sidama",
- "simp-chinese-formal", "simp-chinese-informal", "single",
- "skew", "skewX", "skewY", "skip-white-space", "slide", "slider-horizontal",
- "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
- "small", "small-caps", "small-caption", "smaller", "soft-light", "solid", "somali",
- "source-atop", "source-in", "source-out", "source-over", "space", "space-around", "space-between", "space-evenly", "spell-out", "square",
- "square-button", "start", "static", "status-bar", "stretch", "stroke", "stroke-box", "sub",
- "subpixel-antialiased", "svg_masks", "super", "sw-resize", "symbolic", "symbols", "system-ui", "table",
- "table-caption", "table-cell", "table-column", "table-column-group",
- "table-footer-group", "table-header-group", "table-row", "table-row-group",
- "tamil",
- "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai",
- "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight",
- "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er",
- "tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top",
- "trad-chinese-formal", "trad-chinese-informal", "transform",
- "translate", "translate3d", "translateX", "translateY", "translateZ",
- "transparent", "ultra-condensed", "ultra-expanded", "underline", "unidirectional-pan", "unset", "up",
- "upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal",
- "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url",
- "var", "vertical", "vertical-text", "view-box", "visible", "visibleFill", "visiblePainted",
- "visibleStroke", "visual", "w-resize", "wait", "wave", "wider",
- "window", "windowframe", "windowtext", "words", "wrap", "wrap-reverse", "x-large", "x-small", "xor",
- "xx-large", "xx-small"
+ "extra-expanded", "fantasy", "fill", "fill-box", "fit-content", "fixed", "flat", "flex",
+ "flex-end", "flex-start", "flow-root", "forwards", "grab", "grabbing", "grayscale",
+ "graytext", "grid", "groove", "hard-light", "hebrew", "help", "hidden", "hide",
+ "highlight", "highlighttext", "horizontal", "hsl", "hue", "hue-rotate", "icon", "ignore",
+ "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", "infobackground",
+ "infotext", "inherit", "initial", "inline", "inline-axis", "inline-block", "inline-flex",
+ "inline-grid", "inline-table", "inset", "inside", "invert", "isolate", "isolate-override",
+ "italic", "japanese-formal", "japanese-informal", "justify", "keep-all",
+ "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal", "landscape",
+ "large", "larger", "left", "lighten", "lighter", "line-through", "linear", "list-item",
+ "listbox", "listitem", "local", "logical", "lowercase", "ltr", "luminosity",
+ "manipulation", "matrix", "matrix3d", "max-content", "medium", "menu", "menulist",
+ "menulist-button", "menutext", "message-box", "middle", "min-content", "mix", "monospace",
+ "move", "multiply", "n-resize", "narrower", "ne-resize", "nesw-resize", "no-close-quote",
+ "no-drop", "no-open-quote", "no-preference", "no-repeat", "none", "normal", "not-allowed",
+ "nowrap", "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique",
+ "opacity", "open-quote", "outset", "outside", "overlay", "overline", "padding-box",
+ "painted", "pan-x", "pan-y", "paused", "perspective", "pixelated", "plaintext", "pointer",
+ "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "radio",
+ "read-only", "read-write", "relative", "repeat", "repeat-x", "repeat-y", "reverse",
+ "revert", "ridge", "right", "rotate", "rotate3d", "round", "row", "row-resize",
+ "row-reverse", "rtl", "running", "s-resize", "sans-serif", "saturate", "saturation",
+ "scale", "scale-down", "scale3d", "screen", "scroll", "scrollbar", "se-resize",
+ "searchfield", "self-end", "self-start", "semi-condensed", "semi-expanded", "separate",
+ "sepia", "serif", "show", "simp-chinese-formal", "simp-chinese-informal", "skew", "small",
+ "small-caps", "small-caption", "smaller", "smooth", "soft-light", "solid", "space",
+ "space-around", "space-between", "space-evenly", "spell-out", "square", "start", "static",
+ "status-bar", "sticky", "stretch", "stroke", "stroke-box", "sub", "subgrid", "super",
+ "sw-resize", "symbolic", "symbols", "table", "table-caption", "table-cell", "table-column",
+ "table-column-group", "table-footer-group", "table-header-group", "table-row",
+ "table-row-group", "text", "text-bottom", "text-top", "textfield", "thick", "thin",
+ "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow",
+ "top", "trad-chinese-formal", "trad-chinese-informal", "translate", "translate3d",
+ "transparent", "ultra-condensed", "ultra-expanded", "underline", "unset", "uppercase",
+ "vertical", "vertical-text", "view-box", "visible", "w-resize", "wait", "wider", "window",
+ "windowframe", "windowtext", "words", "wrap", "wrap-reverse", "x-large", "x-small",
+ "xx-large", "xx-small", "zoom-in", "zoom-out"
], valueKeywords = keySet(valueKeywords_);
var allWords = documentTypes_.concat(mediaTypes_).concat(mediaFeatures_).concat(mediaValueKeywords_)
--- src/content/codemirror/addon/hint/css-hint.js 2026-07-13 21:02:11.250243799 +0100
+++ src/content/codemirror/addon/hint/css-hint.js 2026-07-12 23:13:29.256389480 +0100
@@ -27,7 +27,7 @@
if (inner.mode.name != "css") return;
if (token.type == "keyword" && "!important".indexOf(token.string) == 0)
- return {list: ["!important"], from: CodeMirror.Pos(cur.line, token.start),
+ return {list: ["!important;"], from: CodeMirror.Pos(cur.line, token.start),
to: CodeMirror.Pos(cur.line, token.end)};
var start = token.start, end = cur.ch, word = token.string.slice(0, end - start);