sanitize 2.1.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sanitize might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/HISTORY.md +520 -55
- data/LICENSE +1 -1
- data/README.md +438 -168
- data/lib/sanitize/config/basic.rb +12 -32
- data/lib/sanitize/config/default.rb +118 -0
- data/lib/sanitize/config/relaxed.rb +716 -53
- data/lib/sanitize/config/restricted.rb +3 -23
- data/lib/sanitize/config.rb +53 -79
- data/lib/sanitize/css.rb +348 -0
- data/lib/sanitize/transformers/clean_cdata.rb +3 -3
- data/lib/sanitize/transformers/clean_comment.rb +6 -3
- data/lib/sanitize/transformers/clean_css.rb +57 -0
- data/lib/sanitize/transformers/clean_doctype.rb +19 -0
- data/lib/sanitize/transformers/clean_element.rb +192 -124
- data/lib/sanitize/version.rb +3 -1
- data/lib/sanitize.rb +172 -143
- data/test/common.rb +3 -0
- data/test/test_clean_comment.rb +47 -0
- data/test/test_clean_css.rb +67 -0
- data/test/test_clean_doctype.rb +71 -0
- data/test/test_clean_element.rb +545 -0
- data/test/test_config.rb +65 -0
- data/test/test_malicious_css.rb +42 -0
- data/test/test_malicious_html.rb +235 -0
- data/test/test_parser.rb +75 -0
- data/test/test_sanitize.rb +151 -675
- data/test/test_sanitize_css.rb +424 -0
- data/test/test_transformers.rb +230 -0
- metadata +44 -41
@@ -1,61 +1,724 @@
|
|
1
|
-
|
2
|
-
# Copyright (c) 2013 Ryan Grove <ryan@wonko.com>
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
6
|
-
# in the Software without restriction, including without limitation the rights
|
7
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
# copies of the Software, and to permit persons to whom the Software is
|
9
|
-
# furnished to do so, subject to the following conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included in all
|
12
|
-
# copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
20
|
-
# SOFTWARE.
|
21
|
-
#++
|
1
|
+
# encoding: utf-8
|
22
2
|
|
23
3
|
class Sanitize
|
24
4
|
module Config
|
25
|
-
RELAXED =
|
26
|
-
:elements => %w[
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
5
|
+
RELAXED = freeze_config(
|
6
|
+
:elements => BASIC[:elements] + %w[
|
7
|
+
address article aside bdi bdo body caption col colgroup data del div
|
8
|
+
figcaption figure footer h1 h2 h3 h4 h5 h6 head header hgroup hr html
|
9
|
+
img ins main nav rp rt ruby section span style summary table tbody
|
10
|
+
td tfoot th thead title tr wbr
|
31
11
|
],
|
32
12
|
|
33
|
-
:
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
'
|
38
|
-
'
|
39
|
-
'
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
46
|
-
'
|
47
|
-
'
|
48
|
-
'
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
'del'
|
55
|
-
'img'
|
56
|
-
'ins'
|
57
|
-
|
13
|
+
:allow_doctype => true,
|
14
|
+
|
15
|
+
:attributes => merge(BASIC[:attributes],
|
16
|
+
:all => %w[class dir hidden id lang style tabindex title translate],
|
17
|
+
'a' => %w[href hreflang name rel],
|
18
|
+
'col' => %w[span width],
|
19
|
+
'colgroup' => %w[span width],
|
20
|
+
'data' => %w[value],
|
21
|
+
'del' => %w[cite datetime],
|
22
|
+
'img' => %w[align alt border height src srcset width],
|
23
|
+
'ins' => %w[cite datetime],
|
24
|
+
'li' => %w[value],
|
25
|
+
'ol' => %w[reversed start type],
|
26
|
+
'style' => %w[media scoped type],
|
27
|
+
'table' => %w[align bgcolor border cellpadding cellspacing frame rules sortable summary width],
|
28
|
+
'td' => %w[abbr align axis colspan headers rowspan valign width],
|
29
|
+
'th' => %w[abbr align axis colspan headers rowspan scope sorted valign width],
|
30
|
+
'ul' => %w[type]
|
31
|
+
),
|
32
|
+
|
33
|
+
:protocols => merge(BASIC[:protocols],
|
34
|
+
'del' => {'cite' => ['http', 'https', :relative]},
|
35
|
+
'img' => {'src' => ['http', 'https', :relative]},
|
36
|
+
'ins' => {'cite' => ['http', 'https', :relative]}
|
37
|
+
),
|
38
|
+
|
39
|
+
:css => {
|
40
|
+
:allow_comments => true,
|
41
|
+
:allow_hacks => true,
|
42
|
+
|
43
|
+
:at_rules_with_properties => %w[
|
44
|
+
bottom-center
|
45
|
+
bottom-left
|
46
|
+
bottom-left-corner
|
47
|
+
bottom-right
|
48
|
+
bottom-right-corner
|
49
|
+
font-face
|
50
|
+
left-bottom
|
51
|
+
left-middle
|
52
|
+
left-top
|
53
|
+
page
|
54
|
+
right-bottom
|
55
|
+
right-middle
|
56
|
+
right-top
|
57
|
+
top-center
|
58
|
+
top-left
|
59
|
+
top-left-corner
|
60
|
+
top-right
|
61
|
+
top-right-corner
|
62
|
+
],
|
63
|
+
|
64
|
+
:at_rules_with_styles => %w[
|
65
|
+
-moz-keyframes
|
66
|
+
-o-keyframes
|
67
|
+
-webkit-keyframes
|
68
|
+
document
|
69
|
+
keyframes
|
70
|
+
media
|
71
|
+
supports
|
72
|
+
],
|
73
|
+
|
74
|
+
:protocols => ['http', 'https', :relative],
|
75
|
+
|
76
|
+
:properties => %w[
|
77
|
+
-moz-appearance
|
78
|
+
-moz-background-inline-policy
|
79
|
+
-moz-box-sizing
|
80
|
+
-moz-column-count
|
81
|
+
-moz-column-fill
|
82
|
+
-moz-column-gap
|
83
|
+
-moz-column-rule
|
84
|
+
-moz-column-rule-color
|
85
|
+
-moz-column-rule-style
|
86
|
+
-moz-column-rule-width
|
87
|
+
-moz-column-width
|
88
|
+
-moz-font-feature-settings
|
89
|
+
-moz-font-language-override
|
90
|
+
-moz-hyphens
|
91
|
+
-moz-text-align-last
|
92
|
+
-moz-text-decoration-color
|
93
|
+
-moz-text-decoration-line
|
94
|
+
-moz-text-decoration-style
|
95
|
+
-moz-text-size-adjust
|
96
|
+
-ms-background-position-x
|
97
|
+
-ms-background-position-y
|
98
|
+
-ms-block-progression
|
99
|
+
-ms-content-zoom-chaining
|
100
|
+
-ms-content-zoom-limit
|
101
|
+
-ms-content-zoom-limit-max
|
102
|
+
-ms-content-zoom-limit-min
|
103
|
+
-ms-content-zoom-snap
|
104
|
+
-ms-content-zoom-snap-points
|
105
|
+
-ms-content-zoom-snap-type
|
106
|
+
-ms-content-zooming
|
107
|
+
-ms-filter
|
108
|
+
-ms-flex
|
109
|
+
-ms-flex-align
|
110
|
+
-ms-flex-direction
|
111
|
+
-ms-flex-order
|
112
|
+
-ms-flex-pack
|
113
|
+
-ms-flex-wrap
|
114
|
+
-ms-flow-from
|
115
|
+
-ms-flow-into
|
116
|
+
-ms-grid-column
|
117
|
+
-ms-grid-column-align
|
118
|
+
-ms-grid-column-span
|
119
|
+
-ms-grid-columns
|
120
|
+
-ms-grid-row
|
121
|
+
-ms-grid-row-align
|
122
|
+
-ms-grid-row-span
|
123
|
+
-ms-grid-rows
|
124
|
+
-ms-high-contrast-adjust
|
125
|
+
-ms-hyphenate-limit-chars
|
126
|
+
-ms-hyphenate-limit-lines
|
127
|
+
-ms-hyphenate-limit-zone
|
128
|
+
-ms-hyphens
|
129
|
+
-ms-ime-mode
|
130
|
+
-ms-interpolation-mode
|
131
|
+
-ms-layout-flow
|
132
|
+
-ms-layout-grid
|
133
|
+
-ms-layout-grid-char
|
134
|
+
-ms-layout-grid-line
|
135
|
+
-ms-layout-grid-mode
|
136
|
+
-ms-layout-grid-type
|
137
|
+
-ms-overflow-style
|
138
|
+
-ms-overflow-x
|
139
|
+
-ms-overflow-y
|
140
|
+
-ms-progress-appearance
|
141
|
+
-ms-scroll-chaining
|
142
|
+
-ms-scroll-limit
|
143
|
+
-ms-scroll-limit-x-max
|
144
|
+
-ms-scroll-limit-x-min
|
145
|
+
-ms-scroll-limit-y-max
|
146
|
+
-ms-scroll-limit-y-min
|
147
|
+
-ms-scroll-rails
|
148
|
+
-ms-scroll-snap-points-x
|
149
|
+
-ms-scroll-snap-points-y
|
150
|
+
-ms-scroll-snap-type
|
151
|
+
-ms-scroll-snap-x
|
152
|
+
-ms-scroll-snap-y
|
153
|
+
-ms-scroll-translation
|
154
|
+
-ms-scrollbar-arrow-color
|
155
|
+
-ms-scrollbar-base-color
|
156
|
+
-ms-scrollbar-darkshadow-color
|
157
|
+
-ms-scrollbar-face-color
|
158
|
+
-ms-scrollbar-highlight-color
|
159
|
+
-ms-scrollbar-shadow-color
|
160
|
+
-ms-scrollbar-track-color
|
161
|
+
-ms-text-align-last
|
162
|
+
-ms-text-autospace
|
163
|
+
-ms-text-justify
|
164
|
+
-ms-text-kashida-space
|
165
|
+
-ms-text-overflow
|
166
|
+
-ms-text-size-adjust
|
167
|
+
-ms-text-underline-position
|
168
|
+
-ms-touch-action
|
169
|
+
-ms-user-select
|
170
|
+
-ms-word-break
|
171
|
+
-ms-word-wrap
|
172
|
+
-ms-wrap-flow
|
173
|
+
-ms-wrap-margin
|
174
|
+
-ms-wrap-through
|
175
|
+
-ms-writing-mode
|
176
|
+
-ms-zoom
|
177
|
+
-webkit-align-content
|
178
|
+
-webkit-align-items
|
179
|
+
-webkit-align-self
|
180
|
+
-webkit-animation
|
181
|
+
-webkit-animation-delay
|
182
|
+
-webkit-animation-direction
|
183
|
+
-webkit-animation-duration
|
184
|
+
-webkit-animation-fill-mode
|
185
|
+
-webkit-animation-iteration-count
|
186
|
+
-webkit-animation-name
|
187
|
+
-webkit-animation-play-state
|
188
|
+
-webkit-animation-timing-function
|
189
|
+
-webkit-appearance
|
190
|
+
-webkit-backface-visibility
|
191
|
+
-webkit-background-blend-mode
|
192
|
+
-webkit-background-clip
|
193
|
+
-webkit-background-composite
|
194
|
+
-webkit-background-origin
|
195
|
+
-webkit-background-size
|
196
|
+
-webkit-blend-mode
|
197
|
+
-webkit-border-after
|
198
|
+
-webkit-border-after-color
|
199
|
+
-webkit-border-after-style
|
200
|
+
-webkit-border-after-width
|
201
|
+
-webkit-border-before
|
202
|
+
-webkit-border-before-color
|
203
|
+
-webkit-border-before-style
|
204
|
+
-webkit-border-before-width
|
205
|
+
-webkit-border-bottom-left-radius
|
206
|
+
-webkit-border-bottom-right-radius
|
207
|
+
-webkit-border-end
|
208
|
+
-webkit-border-end-color
|
209
|
+
-webkit-border-end-style
|
210
|
+
-webkit-border-end-width
|
211
|
+
-webkit-border-fit
|
212
|
+
-webkit-border-image
|
213
|
+
-webkit-border-radius
|
214
|
+
-webkit-border-start
|
215
|
+
-webkit-border-start-color
|
216
|
+
-webkit-border-start-style
|
217
|
+
-webkit-border-start-width
|
218
|
+
-webkit-border-top-left-radius
|
219
|
+
-webkit-border-top-right-radius
|
220
|
+
-webkit-box-align
|
221
|
+
-webkit-box-decoration-break
|
222
|
+
-webkit-box-flex
|
223
|
+
-webkit-box-flex-group
|
224
|
+
-webkit-box-lines
|
225
|
+
-webkit-box-ordinal-group
|
226
|
+
-webkit-box-orient
|
227
|
+
-webkit-box-pack
|
228
|
+
-webkit-box-reflect
|
229
|
+
-webkit-box-shadow
|
230
|
+
-webkit-box-sizing
|
231
|
+
-webkit-clip-path
|
232
|
+
-webkit-column-axis
|
233
|
+
-webkit-column-break-after
|
234
|
+
-webkit-column-break-before
|
235
|
+
-webkit-column-break-inside
|
236
|
+
-webkit-column-count
|
237
|
+
-webkit-column-gap
|
238
|
+
-webkit-column-progression
|
239
|
+
-webkit-column-rule
|
240
|
+
-webkit-column-rule-color
|
241
|
+
-webkit-column-rule-style
|
242
|
+
-webkit-column-rule-width
|
243
|
+
-webkit-column-span
|
244
|
+
-webkit-column-width
|
245
|
+
-webkit-columns
|
246
|
+
-webkit-filter
|
247
|
+
-webkit-flex
|
248
|
+
-webkit-flex-basis
|
249
|
+
-webkit-flex-direction
|
250
|
+
-webkit-flex-flow
|
251
|
+
-webkit-flex-grow
|
252
|
+
-webkit-flex-shrink
|
253
|
+
-webkit-flex-wrap
|
254
|
+
-webkit-flow-from
|
255
|
+
-webkit-flow-into
|
256
|
+
-webkit-font-size-delta
|
257
|
+
-webkit-font-smoothing
|
258
|
+
-webkit-grid-area
|
259
|
+
-webkit-grid-auto-columns
|
260
|
+
-webkit-grid-auto-flow
|
261
|
+
-webkit-grid-auto-rows
|
262
|
+
-webkit-grid-column
|
263
|
+
-webkit-grid-column-end
|
264
|
+
-webkit-grid-column-start
|
265
|
+
-webkit-grid-definition-columns
|
266
|
+
-webkit-grid-definition-rows
|
267
|
+
-webkit-grid-row
|
268
|
+
-webkit-grid-row-end
|
269
|
+
-webkit-grid-row-start
|
270
|
+
-webkit-justify-content
|
271
|
+
-webkit-line-clamp
|
272
|
+
-webkit-logical-height
|
273
|
+
-webkit-logical-width
|
274
|
+
-webkit-margin-after
|
275
|
+
-webkit-margin-after-collapse
|
276
|
+
-webkit-margin-before
|
277
|
+
-webkit-margin-before-collapse
|
278
|
+
-webkit-margin-bottom-collapse
|
279
|
+
-webkit-margin-collapse
|
280
|
+
-webkit-margin-end
|
281
|
+
-webkit-margin-start
|
282
|
+
-webkit-margin-top-collapse
|
283
|
+
-webkit-marquee
|
284
|
+
-webkit-marquee-direction
|
285
|
+
-webkit-marquee-increment
|
286
|
+
-webkit-marquee-repetition
|
287
|
+
-webkit-marquee-speed
|
288
|
+
-webkit-marquee-style
|
289
|
+
-webkit-mask
|
290
|
+
-webkit-mask-box-image
|
291
|
+
-webkit-mask-box-image-outset
|
292
|
+
-webkit-mask-box-image-repeat
|
293
|
+
-webkit-mask-box-image-slice
|
294
|
+
-webkit-mask-box-image-source
|
295
|
+
-webkit-mask-box-image-width
|
296
|
+
-webkit-mask-clip
|
297
|
+
-webkit-mask-composite
|
298
|
+
-webkit-mask-image
|
299
|
+
-webkit-mask-origin
|
300
|
+
-webkit-mask-position
|
301
|
+
-webkit-mask-position-x
|
302
|
+
-webkit-mask-position-y
|
303
|
+
-webkit-mask-repeat
|
304
|
+
-webkit-mask-repeat-x
|
305
|
+
-webkit-mask-repeat-y
|
306
|
+
-webkit-mask-size
|
307
|
+
-webkit-mask-source-type
|
308
|
+
-webkit-max-logical-height
|
309
|
+
-webkit-max-logical-width
|
310
|
+
-webkit-min-logical-height
|
311
|
+
-webkit-min-logical-width
|
312
|
+
-webkit-opacity
|
313
|
+
-webkit-order
|
314
|
+
-webkit-padding-after
|
315
|
+
-webkit-padding-before
|
316
|
+
-webkit-padding-end
|
317
|
+
-webkit-padding-start
|
318
|
+
-webkit-perspective
|
319
|
+
-webkit-perspective-origin
|
320
|
+
-webkit-perspective-origin-x
|
321
|
+
-webkit-perspective-origin-y
|
322
|
+
-webkit-region-break-after
|
323
|
+
-webkit-region-break-before
|
324
|
+
-webkit-region-break-inside
|
325
|
+
-webkit-region-fragment
|
326
|
+
-webkit-shape-inside
|
327
|
+
-webkit-shape-margin
|
328
|
+
-webkit-shape-outside
|
329
|
+
-webkit-shape-padding
|
330
|
+
-webkit-svg-shadow
|
331
|
+
-webkit-tap-highlight-color
|
332
|
+
-webkit-text-decoration
|
333
|
+
-webkit-text-decoration-color
|
334
|
+
-webkit-text-decoration-line
|
335
|
+
-webkit-text-decoration-style
|
336
|
+
-webkit-text-size-adjust
|
337
|
+
-webkit-touch-callout
|
338
|
+
-webkit-transform
|
339
|
+
-webkit-transform-origin
|
340
|
+
-webkit-transform-origin-x
|
341
|
+
-webkit-transform-origin-y
|
342
|
+
-webkit-transform-origin-z
|
343
|
+
-webkit-transform-style
|
344
|
+
-webkit-transition
|
345
|
+
-webkit-transition-delay
|
346
|
+
-webkit-transition-duration
|
347
|
+
-webkit-transition-property
|
348
|
+
-webkit-transition-timing-function
|
349
|
+
-webkit-user-drag
|
350
|
+
-webkit-wrap-flow
|
351
|
+
-webkit-wrap-through
|
352
|
+
align-content
|
353
|
+
align-items
|
354
|
+
align-self
|
355
|
+
alignment-adjust
|
356
|
+
alignment-baseline
|
357
|
+
all
|
358
|
+
anchor-point
|
359
|
+
animation
|
360
|
+
animation-delay
|
361
|
+
animation-direction
|
362
|
+
animation-duration
|
363
|
+
animation-fill-mode
|
364
|
+
animation-iteration-count
|
365
|
+
animation-name
|
366
|
+
animation-play-state
|
367
|
+
animation-timing-function
|
368
|
+
azimuth
|
369
|
+
backface-visibility
|
370
|
+
background
|
371
|
+
background-attachment
|
372
|
+
background-clip
|
373
|
+
background-color
|
374
|
+
background-image
|
375
|
+
background-origin
|
376
|
+
background-position
|
377
|
+
background-repeat
|
378
|
+
background-size
|
379
|
+
baseline-shift
|
380
|
+
binding
|
381
|
+
bleed
|
382
|
+
bookmark-label
|
383
|
+
bookmark-level
|
384
|
+
bookmark-state
|
385
|
+
border
|
386
|
+
border-bottom
|
387
|
+
border-bottom-color
|
388
|
+
border-bottom-left-radius
|
389
|
+
border-bottom-right-radius
|
390
|
+
border-bottom-style
|
391
|
+
border-bottom-width
|
392
|
+
border-collapse
|
393
|
+
border-color
|
394
|
+
border-image
|
395
|
+
border-image-outset
|
396
|
+
border-image-repeat
|
397
|
+
border-image-slice
|
398
|
+
border-image-source
|
399
|
+
border-image-width
|
400
|
+
border-left
|
401
|
+
border-left-color
|
402
|
+
border-left-style
|
403
|
+
border-left-width
|
404
|
+
border-radius
|
405
|
+
border-right
|
406
|
+
border-right-color
|
407
|
+
border-right-style
|
408
|
+
border-right-width
|
409
|
+
border-spacing
|
410
|
+
border-style
|
411
|
+
border-top
|
412
|
+
border-top-color
|
413
|
+
border-top-left-radius
|
414
|
+
border-top-right-radius
|
415
|
+
border-top-style
|
416
|
+
border-top-width
|
417
|
+
border-width
|
418
|
+
bottom
|
419
|
+
box-decoration-break
|
420
|
+
box-shadow
|
421
|
+
box-sizing
|
422
|
+
box-snap
|
423
|
+
box-suppress
|
424
|
+
break-after
|
425
|
+
break-before
|
426
|
+
break-inside
|
427
|
+
caption-side
|
428
|
+
chains
|
429
|
+
clear
|
430
|
+
clip
|
431
|
+
clip-path
|
432
|
+
clip-rule
|
433
|
+
color
|
434
|
+
color-interpolation
|
435
|
+
color-interpolation-filters
|
436
|
+
color-profile
|
437
|
+
color-rendering
|
438
|
+
column-count
|
439
|
+
column-fill
|
440
|
+
column-gap
|
441
|
+
column-rule
|
442
|
+
column-rule-color
|
443
|
+
column-rule-style
|
444
|
+
column-rule-width
|
445
|
+
column-span
|
446
|
+
column-width
|
447
|
+
columns
|
448
|
+
contain
|
449
|
+
content
|
450
|
+
counter-increment
|
451
|
+
counter-reset
|
452
|
+
counter-set
|
453
|
+
crop
|
454
|
+
cue
|
455
|
+
cue-after
|
456
|
+
cue-before
|
457
|
+
cursor
|
458
|
+
direction
|
459
|
+
display
|
460
|
+
display-inside
|
461
|
+
display-list
|
462
|
+
display-outside
|
463
|
+
dominant-baseline
|
464
|
+
elevation
|
465
|
+
empty-cells
|
466
|
+
enable-background
|
467
|
+
fill
|
468
|
+
fill-opacity
|
469
|
+
fill-rule
|
470
|
+
filter
|
471
|
+
flex
|
472
|
+
flex-basis
|
473
|
+
flex-direction
|
474
|
+
flex-flow
|
475
|
+
flex-grow
|
476
|
+
flex-shrink
|
477
|
+
flex-wrap
|
478
|
+
float
|
479
|
+
float-offset
|
480
|
+
flood-color
|
481
|
+
flood-opacity
|
482
|
+
flow-from
|
483
|
+
flow-into
|
484
|
+
font
|
485
|
+
font-family
|
486
|
+
font-feature-settings
|
487
|
+
font-kerning
|
488
|
+
font-language-override
|
489
|
+
font-size
|
490
|
+
font-size-adjust
|
491
|
+
font-stretch
|
492
|
+
font-style
|
493
|
+
font-synthesis
|
494
|
+
font-variant
|
495
|
+
font-variant-alternates
|
496
|
+
font-variant-caps
|
497
|
+
font-variant-east-asian
|
498
|
+
font-variant-ligatures
|
499
|
+
font-variant-numeric
|
500
|
+
font-variant-position
|
501
|
+
font-weight
|
502
|
+
glyph-orientation-horizontal
|
503
|
+
glyph-orientation-vertical
|
504
|
+
grid
|
505
|
+
grid-area
|
506
|
+
grid-auto-columns
|
507
|
+
grid-auto-flow
|
508
|
+
grid-auto-rows
|
509
|
+
grid-column
|
510
|
+
grid-column-end
|
511
|
+
grid-column-start
|
512
|
+
grid-row
|
513
|
+
grid-row-end
|
514
|
+
grid-row-start
|
515
|
+
grid-template
|
516
|
+
grid-template-areas
|
517
|
+
grid-template-columns
|
518
|
+
grid-template-rows
|
519
|
+
hanging-punctuation
|
520
|
+
height
|
521
|
+
hyphens
|
522
|
+
icon
|
523
|
+
image-orientation
|
524
|
+
image-rendering
|
525
|
+
image-resolution
|
526
|
+
ime-mode
|
527
|
+
initial-letters
|
528
|
+
inline-box-align
|
529
|
+
justify-content
|
530
|
+
justify-items
|
531
|
+
justify-self
|
532
|
+
kerning
|
533
|
+
left
|
534
|
+
letter-spacing
|
535
|
+
lighting-color
|
536
|
+
line-box-contain
|
537
|
+
line-break
|
538
|
+
line-grid
|
539
|
+
line-height
|
540
|
+
line-snap
|
541
|
+
line-stacking
|
542
|
+
line-stacking-ruby
|
543
|
+
line-stacking-shift
|
544
|
+
line-stacking-strategy
|
545
|
+
list-style
|
546
|
+
list-style-image
|
547
|
+
list-style-position
|
548
|
+
list-style-type
|
549
|
+
margin
|
550
|
+
margin-bottom
|
551
|
+
margin-left
|
552
|
+
margin-right
|
553
|
+
margin-top
|
554
|
+
marker
|
555
|
+
marker-end
|
556
|
+
marker-mid
|
557
|
+
marker-offset
|
558
|
+
marker-side
|
559
|
+
marker-start
|
560
|
+
marks
|
561
|
+
mask
|
562
|
+
mask-box
|
563
|
+
mask-box-outset
|
564
|
+
mask-box-repeat
|
565
|
+
mask-box-slice
|
566
|
+
mask-box-source
|
567
|
+
mask-box-width
|
568
|
+
mask-clip
|
569
|
+
mask-image
|
570
|
+
mask-origin
|
571
|
+
mask-position
|
572
|
+
mask-repeat
|
573
|
+
mask-size
|
574
|
+
mask-source-type
|
575
|
+
mask-type
|
576
|
+
max-height
|
577
|
+
max-lines
|
578
|
+
max-width
|
579
|
+
min-height
|
580
|
+
min-width
|
581
|
+
move-to
|
582
|
+
nav-down
|
583
|
+
nav-index
|
584
|
+
nav-left
|
585
|
+
nav-right
|
586
|
+
nav-up
|
587
|
+
object-fit
|
588
|
+
object-position
|
589
|
+
opacity
|
590
|
+
order
|
591
|
+
orphans
|
592
|
+
outline
|
593
|
+
outline-color
|
594
|
+
outline-offset
|
595
|
+
outline-style
|
596
|
+
outline-width
|
597
|
+
overflow
|
598
|
+
overflow-wrap
|
599
|
+
overflow-x
|
600
|
+
overflow-y
|
601
|
+
padding
|
602
|
+
padding-bottom
|
603
|
+
padding-left
|
604
|
+
padding-right
|
605
|
+
padding-top
|
606
|
+
page
|
607
|
+
page-break-after
|
608
|
+
page-break-before
|
609
|
+
page-break-inside
|
610
|
+
page-policy
|
611
|
+
pause
|
612
|
+
pause-after
|
613
|
+
pause-before
|
614
|
+
perspective
|
615
|
+
perspective-origin
|
616
|
+
pitch
|
617
|
+
pitch-range
|
618
|
+
play-during
|
619
|
+
pointer-events
|
620
|
+
position
|
621
|
+
presentation-level
|
622
|
+
quotes
|
623
|
+
region-fragment
|
624
|
+
resize
|
625
|
+
rest
|
626
|
+
rest-after
|
627
|
+
rest-before
|
628
|
+
richness
|
629
|
+
right
|
630
|
+
rotation
|
631
|
+
rotation-point
|
632
|
+
ruby-align
|
633
|
+
ruby-merge
|
634
|
+
ruby-position
|
635
|
+
shape-image-threshold
|
636
|
+
shape-margin
|
637
|
+
shape-outside
|
638
|
+
shape-rendering
|
639
|
+
size
|
640
|
+
speak
|
641
|
+
speak-as
|
642
|
+
speak-header
|
643
|
+
speak-numeral
|
644
|
+
speak-punctuation
|
645
|
+
speech-rate
|
646
|
+
stop-color
|
647
|
+
stop-opacity
|
648
|
+
stress
|
649
|
+
string-set
|
650
|
+
stroke
|
651
|
+
stroke-dasharray
|
652
|
+
stroke-dashoffset
|
653
|
+
stroke-linecap
|
654
|
+
stroke-linejoin
|
655
|
+
stroke-miterlimit
|
656
|
+
stroke-opacity
|
657
|
+
stroke-width
|
658
|
+
tab-size
|
659
|
+
table-layout
|
660
|
+
text-align
|
661
|
+
text-align-last
|
662
|
+
text-anchor
|
663
|
+
text-combine-horizontal
|
664
|
+
text-combine-upright
|
665
|
+
text-decoration
|
666
|
+
text-decoration-color
|
667
|
+
text-decoration-line
|
668
|
+
text-decoration-skip
|
669
|
+
text-decoration-style
|
670
|
+
text-emphasis
|
671
|
+
text-emphasis-color
|
672
|
+
text-emphasis-position
|
673
|
+
text-emphasis-style
|
674
|
+
text-height
|
675
|
+
text-indent
|
676
|
+
text-justify
|
677
|
+
text-orientation
|
678
|
+
text-overflow
|
679
|
+
text-rendering
|
680
|
+
text-shadow
|
681
|
+
text-size-adjust
|
682
|
+
text-space-collapse
|
683
|
+
text-transform
|
684
|
+
text-underline-position
|
685
|
+
text-wrap
|
686
|
+
top
|
687
|
+
touch-action
|
688
|
+
transform
|
689
|
+
transform-origin
|
690
|
+
transform-style
|
691
|
+
transition
|
692
|
+
transition-delay
|
693
|
+
transition-duration
|
694
|
+
transition-property
|
695
|
+
transition-timing-function
|
696
|
+
unicode-bidi
|
697
|
+
unicode-range
|
698
|
+
vertical-align
|
699
|
+
visibility
|
700
|
+
voice-balance
|
701
|
+
voice-duration
|
702
|
+
voice-family
|
703
|
+
voice-pitch
|
704
|
+
voice-range
|
705
|
+
voice-rate
|
706
|
+
voice-stress
|
707
|
+
voice-volume
|
708
|
+
volume
|
709
|
+
white-space
|
710
|
+
widows
|
711
|
+
width
|
712
|
+
will-change
|
713
|
+
word-break
|
714
|
+
word-spacing
|
715
|
+
word-wrap
|
716
|
+
wrap-flow
|
717
|
+
wrap-through
|
718
|
+
writing-mode
|
719
|
+
z-index
|
720
|
+
]
|
58
721
|
}
|
59
|
-
|
722
|
+
)
|
60
723
|
end
|
61
724
|
end
|