cssstyle 1.3.0 → 2.2.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.
- package/README.md +1 -1
- package/lib/CSSStyleDeclaration.js +5 -0
- package/lib/CSSStyleDeclaration.test.js +31 -2
- package/lib/allExtraProperties.js +60 -241
- package/lib/allProperties.js +444 -489
- package/lib/allWebkitProperties.js +194 -0
- package/lib/implementedProperties.js +1 -1
- package/lib/parsers.js +7 -4
- package/lib/parsers.test.js +35 -1
- package/lib/properties.js +1 -1
- package/lib/utils/colorSpace.js +21 -0
- package/package.json +7 -4
- package/.eslintignore +0 -4
- package/.eslintrc.js +0 -55
- package/.travis.yml +0 -17
- package/AUTHORS +0 -31
- package/coverage/clover.xml +0 -2150
- package/coverage/coverage-final.json +0 -86
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -79
- package/coverage/lcov-report/index.html +0 -123
- package/coverage/lcov-report/lib/CSSStyleDeclaration.js.html +0 -834
- package/coverage/lcov-report/lib/allExtraProperties.js.html +0 -813
- package/coverage/lcov-report/lib/allProperties.js.html +0 -1560
- package/coverage/lcov-report/lib/constants.js.html +0 -87
- package/coverage/lcov-report/lib/index.html +0 -149
- package/coverage/lcov-report/lib/parsers.js.html +0 -2193
- package/coverage/lcov-report/lib/properties/azimuth.js.html +0 -270
- package/coverage/lcov-report/lib/properties/background.js.html +0 -126
- package/coverage/lcov-report/lib/properties/backgroundAttachment.js.html +0 -141
- package/coverage/lcov-report/lib/properties/backgroundColor.js.html +0 -177
- package/coverage/lcov-report/lib/properties/backgroundImage.js.html +0 -165
- package/coverage/lcov-report/lib/properties/backgroundPosition.js.html +0 -243
- package/coverage/lcov-report/lib/properties/backgroundRepeat.js.html +0 -165
- package/coverage/lcov-report/lib/properties/border.js.html +0 -168
- package/coverage/lcov-report/lib/properties/borderBottom.js.html +0 -120
- package/coverage/lcov-report/lib/properties/borderBottomColor.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderBottomStyle.js.html +0 -132
- package/coverage/lcov-report/lib/properties/borderBottomWidth.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderCollapse.js.html +0 -147
- package/coverage/lcov-report/lib/properties/borderColor.js.html +0 -159
- package/coverage/lcov-report/lib/properties/borderLeft.js.html +0 -120
- package/coverage/lcov-report/lib/properties/borderLeftColor.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderLeftStyle.js.html +0 -132
- package/coverage/lcov-report/lib/properties/borderLeftWidth.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderRight.js.html +0 -120
- package/coverage/lcov-report/lib/properties/borderRightColor.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderRightStyle.js.html +0 -132
- package/coverage/lcov-report/lib/properties/borderRightWidth.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderSpacing.js.html +0 -192
- package/coverage/lcov-report/lib/properties/borderStyle.js.html +0 -183
- package/coverage/lcov-report/lib/properties/borderTop.js.html +0 -120
- package/coverage/lcov-report/lib/properties/borderTopColor.js.html +0 -117
- package/coverage/lcov-report/lib/properties/borderTopStyle.js.html +0 -132
- package/coverage/lcov-report/lib/properties/borderTopWidth.js.html +0 -120
- package/coverage/lcov-report/lib/properties/borderWidth.js.html +0 -207
- package/coverage/lcov-report/lib/properties/bottom.js.html +0 -111
- package/coverage/lcov-report/lib/properties/clear.js.html +0 -117
- package/coverage/lcov-report/lib/properties/clip.js.html +0 -210
- package/coverage/lcov-report/lib/properties/color.js.html +0 -111
- package/coverage/lcov-report/lib/properties/cssFloat.js.html +0 -105
- package/coverage/lcov-report/lib/properties/flex.js.html +0 -204
- package/coverage/lcov-report/lib/properties/flexBasis.js.html +0 -153
- package/coverage/lcov-report/lib/properties/flexGrow.js.html +0 -126
- package/coverage/lcov-report/lib/properties/flexShrink.js.html +0 -126
- package/coverage/lcov-report/lib/properties/float.js.html +0 -105
- package/coverage/lcov-report/lib/properties/floodColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/font.js.html +0 -198
- package/coverage/lcov-report/lib/properties/fontFamily.js.html +0 -168
- package/coverage/lcov-report/lib/properties/fontSize.js.html +0 -183
- package/coverage/lcov-report/lib/properties/fontStyle.js.html +0 -123
- package/coverage/lcov-report/lib/properties/fontVariant.js.html +0 -123
- package/coverage/lcov-report/lib/properties/fontWeight.js.html +0 -168
- package/coverage/lcov-report/lib/properties/height.js.html +0 -141
- package/coverage/lcov-report/lib/properties/index.html +0 -1111
- package/coverage/lcov-report/lib/properties/left.js.html +0 -111
- package/coverage/lcov-report/lib/properties/lightingColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/lineHeight.js.html +0 -147
- package/coverage/lcov-report/lib/properties/margin.js.html +0 -273
- package/coverage/lcov-report/lib/properties/marginBottom.js.html +0 -108
- package/coverage/lcov-report/lib/properties/marginLeft.js.html +0 -108
- package/coverage/lcov-report/lib/properties/marginRight.js.html +0 -108
- package/coverage/lcov-report/lib/properties/marginTop.js.html +0 -108
- package/coverage/lcov-report/lib/properties/opacity.js.html +0 -111
- package/coverage/lcov-report/lib/properties/outlineColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/padding.js.html +0 -252
- package/coverage/lcov-report/lib/properties/paddingBottom.js.html +0 -108
- package/coverage/lcov-report/lib/properties/paddingLeft.js.html +0 -108
- package/coverage/lcov-report/lib/properties/paddingRight.js.html +0 -108
- package/coverage/lcov-report/lib/properties/paddingTop.js.html +0 -108
- package/coverage/lcov-report/lib/properties/right.js.html +0 -111
- package/coverage/lcov-report/lib/properties/stopColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/textLineThroughColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/textOverlineColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/textUnderlineColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/top.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitBorderAfterColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitBorderBeforeColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitBorderEndColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitBorderStartColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitColumnRuleColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitMatchNearestMailBlockquoteColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitTapHighlightColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitTextEmphasisColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitTextFillColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/webkitTextStrokeColor.js.html +0 -111
- package/coverage/lcov-report/lib/properties/width.js.html +0 -141
- package/coverage/lcov-report/lib/utils/getBasicPropertyDescriptor.js.html +0 -111
- package/coverage/lcov-report/lib/utils/index.html +0 -97
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -170
- package/coverage/lcov.info +0 -3711
- package/jest.config.js +0 -10
- package/scripts/download_latest_properties.js +0 -88
- package/scripts/generate_implemented_properties.js +0 -61
- package/scripts/generate_properties.js +0 -292
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A Node JS implementation of the CSS Object Model [CSSStyleDeclaration interface](https://www.w3.org/TR/cssom-1/#the-cssstyledeclaration-interface).
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/cssstyle) [](https://www.npmjs.com/package/cssstyle) [](https://travis-ci.org/jsdom/cssstyle) [](https://codecov.io/gh/jsdom/cssstyle)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -56,6 +56,11 @@ CSSStyleDeclaration.prototype = {
|
|
|
56
56
|
this.removeProperty(name);
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
|
+
var isCustomProperty = name.indexOf('--') === 0;
|
|
60
|
+
if (isCustomProperty) {
|
|
61
|
+
this._setProperty(name, value, priority);
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
59
64
|
var lowercaseName = name.toLowerCase();
|
|
60
65
|
if (!allProperties.has(lowercaseName) && !allExtraProperties.has(lowercaseName)) {
|
|
61
66
|
return;
|
|
@@ -184,9 +184,9 @@ describe('CSSStyleDeclaration', () => {
|
|
|
184
184
|
style.color = 'rgba(300, 200, 100, 1.5)';
|
|
185
185
|
expect(style.color).toEqual('rgb(255, 200, 100)');
|
|
186
186
|
style.color = 'hsla(0, 1%, 2%, 0.5)';
|
|
187
|
-
expect(style.color).toEqual('
|
|
187
|
+
expect(style.color).toEqual('rgba(5, 5, 5, 0.5)');
|
|
188
188
|
style.color = 'hsl(0, 1%, 2%)';
|
|
189
|
-
expect(style.color).toEqual('
|
|
189
|
+
expect(style.color).toEqual('rgb(5, 5, 5)');
|
|
190
190
|
style.color = 'rebeccapurple';
|
|
191
191
|
expect(style.color).toEqual('rebeccapurple');
|
|
192
192
|
style.color = 'transparent';
|
|
@@ -518,4 +518,33 @@ describe('CSSStyleDeclaration', () => {
|
|
|
518
518
|
expect(0).toEqual(style.length);
|
|
519
519
|
expect(undefined).toEqual(style[0]);
|
|
520
520
|
});
|
|
521
|
+
|
|
522
|
+
test('getPropertyValue for custom properties in cssText', () => {
|
|
523
|
+
const style = new CSSStyleDeclaration();
|
|
524
|
+
style.cssText = '--foo: red';
|
|
525
|
+
|
|
526
|
+
expect(style.getPropertyValue('--foo')).toEqual('red');
|
|
527
|
+
});
|
|
528
|
+
|
|
529
|
+
test('getPropertyValue for custom properties with setProperty', () => {
|
|
530
|
+
const style = new CSSStyleDeclaration();
|
|
531
|
+
style.setProperty('--bar', 'blue');
|
|
532
|
+
|
|
533
|
+
expect(style.getPropertyValue('--bar')).toEqual('blue');
|
|
534
|
+
});
|
|
535
|
+
|
|
536
|
+
test('getPropertyValue for custom properties with object setter', () => {
|
|
537
|
+
const style = new CSSStyleDeclaration();
|
|
538
|
+
style['--baz'] = 'yellow';
|
|
539
|
+
|
|
540
|
+
expect(style.getPropertyValue('--baz')).toEqual('');
|
|
541
|
+
});
|
|
542
|
+
|
|
543
|
+
test('custom properties are case-sensitive', () => {
|
|
544
|
+
const style = new CSSStyleDeclaration();
|
|
545
|
+
style.cssText = '--fOo: purple';
|
|
546
|
+
|
|
547
|
+
expect(style.getPropertyValue('--foo')).toEqual('');
|
|
548
|
+
expect(style.getPropertyValue('--fOo')).toEqual('purple');
|
|
549
|
+
});
|
|
521
550
|
});
|
|
@@ -5,244 +5,63 @@
|
|
|
5
5
|
* current specifications or drafts, but are handled by browsers nevertheless.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
var
|
|
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
|
-
allExtraProperties.add('webkit-animation-fill-mode');
|
|
69
|
-
allExtraProperties.add('webkit-animation-iteration-count');
|
|
70
|
-
allExtraProperties.add('webkit-animation-name');
|
|
71
|
-
allExtraProperties.add('webkit-animation-play-state');
|
|
72
|
-
allExtraProperties.add('webkit-animation-timing-function');
|
|
73
|
-
allExtraProperties.add('webkit-appearance');
|
|
74
|
-
allExtraProperties.add('webkit-aspect-ratio');
|
|
75
|
-
allExtraProperties.add('webkit-backface-visibility');
|
|
76
|
-
allExtraProperties.add('webkit-background-clip');
|
|
77
|
-
allExtraProperties.add('webkit-background-composite');
|
|
78
|
-
allExtraProperties.add('webkit-background-origin');
|
|
79
|
-
allExtraProperties.add('webkit-background-size');
|
|
80
|
-
allExtraProperties.add('webkit-border-after');
|
|
81
|
-
allExtraProperties.add('webkit-border-after-color');
|
|
82
|
-
allExtraProperties.add('webkit-border-after-style');
|
|
83
|
-
allExtraProperties.add('webkit-border-after-width');
|
|
84
|
-
allExtraProperties.add('webkit-border-before');
|
|
85
|
-
allExtraProperties.add('webkit-border-before-color');
|
|
86
|
-
allExtraProperties.add('webkit-border-before-style');
|
|
87
|
-
allExtraProperties.add('webkit-border-before-width');
|
|
88
|
-
allExtraProperties.add('webkit-border-end');
|
|
89
|
-
allExtraProperties.add('webkit-border-end-color');
|
|
90
|
-
allExtraProperties.add('webkit-border-end-style');
|
|
91
|
-
allExtraProperties.add('webkit-border-end-width');
|
|
92
|
-
allExtraProperties.add('webkit-border-fit');
|
|
93
|
-
allExtraProperties.add('webkit-border-horizontal-spacing');
|
|
94
|
-
allExtraProperties.add('webkit-border-image');
|
|
95
|
-
allExtraProperties.add('webkit-border-radius');
|
|
96
|
-
allExtraProperties.add('webkit-border-start');
|
|
97
|
-
allExtraProperties.add('webkit-border-start-color');
|
|
98
|
-
allExtraProperties.add('webkit-border-start-style');
|
|
99
|
-
allExtraProperties.add('webkit-border-start-width');
|
|
100
|
-
allExtraProperties.add('webkit-border-vertical-spacing');
|
|
101
|
-
allExtraProperties.add('webkit-box-align');
|
|
102
|
-
allExtraProperties.add('webkit-box-direction');
|
|
103
|
-
allExtraProperties.add('webkit-box-flex');
|
|
104
|
-
allExtraProperties.add('webkit-box-flex-group');
|
|
105
|
-
allExtraProperties.add('webkit-box-lines');
|
|
106
|
-
allExtraProperties.add('webkit-box-ordinal-group');
|
|
107
|
-
allExtraProperties.add('webkit-box-orient');
|
|
108
|
-
allExtraProperties.add('webkit-box-pack');
|
|
109
|
-
allExtraProperties.add('webkit-box-reflect');
|
|
110
|
-
allExtraProperties.add('webkit-box-shadow');
|
|
111
|
-
allExtraProperties.add('webkit-color-correction');
|
|
112
|
-
allExtraProperties.add('webkit-column-axis');
|
|
113
|
-
allExtraProperties.add('webkit-column-break-after');
|
|
114
|
-
allExtraProperties.add('webkit-column-break-before');
|
|
115
|
-
allExtraProperties.add('webkit-column-break-inside');
|
|
116
|
-
allExtraProperties.add('webkit-column-count');
|
|
117
|
-
allExtraProperties.add('webkit-column-gap');
|
|
118
|
-
allExtraProperties.add('webkit-column-rule');
|
|
119
|
-
allExtraProperties.add('webkit-column-rule-color');
|
|
120
|
-
allExtraProperties.add('webkit-column-rule-style');
|
|
121
|
-
allExtraProperties.add('webkit-column-rule-width');
|
|
122
|
-
allExtraProperties.add('webkit-columns');
|
|
123
|
-
allExtraProperties.add('webkit-column-span');
|
|
124
|
-
allExtraProperties.add('webkit-column-width');
|
|
125
|
-
allExtraProperties.add('webkit-filter');
|
|
126
|
-
allExtraProperties.add('webkit-flex-align');
|
|
127
|
-
allExtraProperties.add('webkit-flex-direction');
|
|
128
|
-
allExtraProperties.add('webkit-flex-flow');
|
|
129
|
-
allExtraProperties.add('webkit-flex-item-align');
|
|
130
|
-
allExtraProperties.add('webkit-flex-line-pack');
|
|
131
|
-
allExtraProperties.add('webkit-flex-order');
|
|
132
|
-
allExtraProperties.add('webkit-flex-pack');
|
|
133
|
-
allExtraProperties.add('webkit-flex-wrap');
|
|
134
|
-
allExtraProperties.add('webkit-flow-from');
|
|
135
|
-
allExtraProperties.add('webkit-flow-into');
|
|
136
|
-
allExtraProperties.add('webkit-font-feature-settings');
|
|
137
|
-
allExtraProperties.add('webkit-font-kerning');
|
|
138
|
-
allExtraProperties.add('webkit-font-size-delta');
|
|
139
|
-
allExtraProperties.add('webkit-font-smoothing');
|
|
140
|
-
allExtraProperties.add('webkit-font-variant-ligatures');
|
|
141
|
-
allExtraProperties.add('webkit-highlight');
|
|
142
|
-
allExtraProperties.add('webkit-hyphenate-character');
|
|
143
|
-
allExtraProperties.add('webkit-hyphenate-limit-after');
|
|
144
|
-
allExtraProperties.add('webkit-hyphenate-limit-before');
|
|
145
|
-
allExtraProperties.add('webkit-hyphenate-limit-lines');
|
|
146
|
-
allExtraProperties.add('webkit-hyphens');
|
|
147
|
-
allExtraProperties.add('webkit-line-align');
|
|
148
|
-
allExtraProperties.add('webkit-line-box-contain');
|
|
149
|
-
allExtraProperties.add('webkit-line-break');
|
|
150
|
-
allExtraProperties.add('webkit-line-clamp');
|
|
151
|
-
allExtraProperties.add('webkit-line-grid');
|
|
152
|
-
allExtraProperties.add('webkit-line-snap');
|
|
153
|
-
allExtraProperties.add('webkit-locale');
|
|
154
|
-
allExtraProperties.add('webkit-logical-height');
|
|
155
|
-
allExtraProperties.add('webkit-logical-width');
|
|
156
|
-
allExtraProperties.add('webkit-margin-after');
|
|
157
|
-
allExtraProperties.add('webkit-margin-after-collapse');
|
|
158
|
-
allExtraProperties.add('webkit-margin-before');
|
|
159
|
-
allExtraProperties.add('webkit-margin-before-collapse');
|
|
160
|
-
allExtraProperties.add('webkit-margin-bottom-collapse');
|
|
161
|
-
allExtraProperties.add('webkit-margin-collapse');
|
|
162
|
-
allExtraProperties.add('webkit-margin-end');
|
|
163
|
-
allExtraProperties.add('webkit-margin-start');
|
|
164
|
-
allExtraProperties.add('webkit-margin-top-collapse');
|
|
165
|
-
allExtraProperties.add('webkit-marquee');
|
|
166
|
-
allExtraProperties.add('webkit-marquee-direction');
|
|
167
|
-
allExtraProperties.add('webkit-marquee-increment');
|
|
168
|
-
allExtraProperties.add('webkit-marquee-repetition');
|
|
169
|
-
allExtraProperties.add('webkit-marquee-speed');
|
|
170
|
-
allExtraProperties.add('webkit-marquee-style');
|
|
171
|
-
allExtraProperties.add('webkit-mask');
|
|
172
|
-
allExtraProperties.add('webkit-mask-attachment');
|
|
173
|
-
allExtraProperties.add('webkit-mask-box-image');
|
|
174
|
-
allExtraProperties.add('webkit-mask-box-image-outset');
|
|
175
|
-
allExtraProperties.add('webkit-mask-box-image-repeat');
|
|
176
|
-
allExtraProperties.add('webkit-mask-box-image-slice');
|
|
177
|
-
allExtraProperties.add('webkit-mask-box-image-source');
|
|
178
|
-
allExtraProperties.add('webkit-mask-box-image-width');
|
|
179
|
-
allExtraProperties.add('webkit-mask-clip');
|
|
180
|
-
allExtraProperties.add('webkit-mask-composite');
|
|
181
|
-
allExtraProperties.add('webkit-mask-image');
|
|
182
|
-
allExtraProperties.add('webkit-mask-origin');
|
|
183
|
-
allExtraProperties.add('webkit-mask-position');
|
|
184
|
-
allExtraProperties.add('webkit-mask-position-x');
|
|
185
|
-
allExtraProperties.add('webkit-mask-position-y');
|
|
186
|
-
allExtraProperties.add('webkit-mask-repeat');
|
|
187
|
-
allExtraProperties.add('webkit-mask-repeat-x');
|
|
188
|
-
allExtraProperties.add('webkit-mask-repeat-y');
|
|
189
|
-
allExtraProperties.add('webkit-mask-size');
|
|
190
|
-
allExtraProperties.add('webkit-match-nearest-mail-blockquote-color');
|
|
191
|
-
allExtraProperties.add('webkit-max-logical-height');
|
|
192
|
-
allExtraProperties.add('webkit-max-logical-width');
|
|
193
|
-
allExtraProperties.add('webkit-min-logical-height');
|
|
194
|
-
allExtraProperties.add('webkit-min-logical-width');
|
|
195
|
-
allExtraProperties.add('webkit-nbsp-mode');
|
|
196
|
-
allExtraProperties.add('webkit-overflow-scrolling');
|
|
197
|
-
allExtraProperties.add('webkit-padding-after');
|
|
198
|
-
allExtraProperties.add('webkit-padding-before');
|
|
199
|
-
allExtraProperties.add('webkit-padding-end');
|
|
200
|
-
allExtraProperties.add('webkit-padding-start');
|
|
201
|
-
allExtraProperties.add('webkit-perspective');
|
|
202
|
-
allExtraProperties.add('webkit-perspective-origin');
|
|
203
|
-
allExtraProperties.add('webkit-perspective-origin-x');
|
|
204
|
-
allExtraProperties.add('webkit-perspective-origin-y');
|
|
205
|
-
allExtraProperties.add('webkit-print-color-adjust');
|
|
206
|
-
allExtraProperties.add('webkit-region-break-after');
|
|
207
|
-
allExtraProperties.add('webkit-region-break-before');
|
|
208
|
-
allExtraProperties.add('webkit-region-break-inside');
|
|
209
|
-
allExtraProperties.add('webkit-region-overflow');
|
|
210
|
-
allExtraProperties.add('webkit-rtl-ordering');
|
|
211
|
-
allExtraProperties.add('webkit-svg-shadow');
|
|
212
|
-
allExtraProperties.add('webkit-tap-highlight-color');
|
|
213
|
-
allExtraProperties.add('webkit-text-combine');
|
|
214
|
-
allExtraProperties.add('webkit-text-decorations-in-effect');
|
|
215
|
-
allExtraProperties.add('webkit-text-emphasis');
|
|
216
|
-
allExtraProperties.add('webkit-text-emphasis-color');
|
|
217
|
-
allExtraProperties.add('webkit-text-emphasis-position');
|
|
218
|
-
allExtraProperties.add('webkit-text-emphasis-style');
|
|
219
|
-
allExtraProperties.add('webkit-text-fill-color');
|
|
220
|
-
allExtraProperties.add('webkit-text-orientation');
|
|
221
|
-
allExtraProperties.add('webkit-text-security');
|
|
222
|
-
allExtraProperties.add('webkit-text-size-adjust');
|
|
223
|
-
allExtraProperties.add('webkit-text-stroke');
|
|
224
|
-
allExtraProperties.add('webkit-text-stroke-color');
|
|
225
|
-
allExtraProperties.add('webkit-text-stroke-width');
|
|
226
|
-
allExtraProperties.add('webkit-transform');
|
|
227
|
-
allExtraProperties.add('webkit-transform-origin');
|
|
228
|
-
allExtraProperties.add('webkit-transform-origin-x');
|
|
229
|
-
allExtraProperties.add('webkit-transform-origin-y');
|
|
230
|
-
allExtraProperties.add('webkit-transform-origin-z');
|
|
231
|
-
allExtraProperties.add('webkit-transform-style');
|
|
232
|
-
allExtraProperties.add('webkit-transition');
|
|
233
|
-
allExtraProperties.add('webkit-transition-delay');
|
|
234
|
-
allExtraProperties.add('webkit-transition-duration');
|
|
235
|
-
allExtraProperties.add('webkit-transition-property');
|
|
236
|
-
allExtraProperties.add('webkit-transition-timing-function');
|
|
237
|
-
allExtraProperties.add('webkit-user-drag');
|
|
238
|
-
allExtraProperties.add('webkit-user-modify');
|
|
239
|
-
allExtraProperties.add('webkit-user-select');
|
|
240
|
-
allExtraProperties.add('webkit-wrap');
|
|
241
|
-
allExtraProperties.add('webkit-wrap-flow');
|
|
242
|
-
allExtraProperties.add('webkit-wrap-margin');
|
|
243
|
-
allExtraProperties.add('webkit-wrap-padding');
|
|
244
|
-
allExtraProperties.add('webkit-wrap-shape-inside');
|
|
245
|
-
allExtraProperties.add('webkit-wrap-shape-outside');
|
|
246
|
-
allExtraProperties.add('webkit-wrap-through');
|
|
247
|
-
allExtraProperties.add('webkit-writing-mode');
|
|
248
|
-
allExtraProperties.add('zoom');
|
|
8
|
+
var allWebkitProperties = require('./allWebkitProperties');
|
|
9
|
+
|
|
10
|
+
module.exports = new Set(
|
|
11
|
+
[
|
|
12
|
+
'background-position-x',
|
|
13
|
+
'background-position-y',
|
|
14
|
+
'background-repeat-x',
|
|
15
|
+
'background-repeat-y',
|
|
16
|
+
'color-interpolation',
|
|
17
|
+
'color-profile',
|
|
18
|
+
'color-rendering',
|
|
19
|
+
'css-float',
|
|
20
|
+
'enable-background',
|
|
21
|
+
'fill',
|
|
22
|
+
'fill-opacity',
|
|
23
|
+
'fill-rule',
|
|
24
|
+
'glyph-orientation-horizontal',
|
|
25
|
+
'image-rendering',
|
|
26
|
+
'kerning',
|
|
27
|
+
'marker',
|
|
28
|
+
'marker-end',
|
|
29
|
+
'marker-mid',
|
|
30
|
+
'marker-offset',
|
|
31
|
+
'marker-start',
|
|
32
|
+
'marks',
|
|
33
|
+
'pointer-events',
|
|
34
|
+
'shape-rendering',
|
|
35
|
+
'size',
|
|
36
|
+
'src',
|
|
37
|
+
'stop-color',
|
|
38
|
+
'stop-opacity',
|
|
39
|
+
'stroke',
|
|
40
|
+
'stroke-dasharray',
|
|
41
|
+
'stroke-dashoffset',
|
|
42
|
+
'stroke-linecap',
|
|
43
|
+
'stroke-linejoin',
|
|
44
|
+
'stroke-miterlimit',
|
|
45
|
+
'stroke-opacity',
|
|
46
|
+
'stroke-width',
|
|
47
|
+
'text-anchor',
|
|
48
|
+
'text-line-through',
|
|
49
|
+
'text-line-through-color',
|
|
50
|
+
'text-line-through-mode',
|
|
51
|
+
'text-line-through-style',
|
|
52
|
+
'text-line-through-width',
|
|
53
|
+
'text-overline',
|
|
54
|
+
'text-overline-color',
|
|
55
|
+
'text-overline-mode',
|
|
56
|
+
'text-overline-style',
|
|
57
|
+
'text-overline-width',
|
|
58
|
+
'text-rendering',
|
|
59
|
+
'text-underline',
|
|
60
|
+
'text-underline-color',
|
|
61
|
+
'text-underline-mode',
|
|
62
|
+
'text-underline-style',
|
|
63
|
+
'text-underline-width',
|
|
64
|
+
'unicode-range',
|
|
65
|
+
'vector-effect',
|
|
66
|
+
].concat(allWebkitProperties)
|
|
67
|
+
);
|