@@ -10,7 +10,7 @@ const generatedProperties = require("./generated/properties");
10
10
const {
11
11
borderProperties,
12
12
getPositionValue,
13
- normalizeProperties ,
13
+ normalizeBorderProperties ,
14
14
prepareBorderProperties,
15
15
prepareProperties,
16
16
shorthandProperties
@@ -150,7 +150,7 @@ class CSSStyleDeclaration {
150
150
}
151
151
properties . set ( property , { property, value, priority } ) ;
152
152
}
153
- const normalizedProperties = normalizeProperties ( properties ) ;
153
+ const normalizedProperties = normalizeBorderProperties ( properties ) ;
154
154
const parts = [ ] ;
155
155
for ( const { property, value, priority } of normalizedProperties . values ( ) ) {
156
156
if ( priority ) {
@@ -362,7 +362,7 @@ class CSSStyleDeclaration {
362
362
}
363
363
364
364
/**
365
- * NOTE: Experimental
365
+ * NOTE: Non-standard, experimental
366
366
*/
367
367
static getPropertyList ( ) {
368
368
return Object . fromEntries ( implementedProperties ) ;
@@ -519,7 +519,8 @@ Object.defineProperties(CSSStyleDeclaration.prototype, {
519
519
}
520
520
}
521
521
}
522
- }
522
+ } ,
523
+ enumerable : false
523
524
} ,
524
525
525
526
_positionShorthandSetter : {
@@ -568,7 +569,8 @@ Object.defineProperties(CSSStyleDeclaration.prototype, {
568
569
const shorthandValue = getPositionValue ( shorthandValues , position ) ;
569
570
this . _setProperty ( prop , shorthandValue , priority ) ;
570
571
}
571
- }
572
+ } ,
573
+ enumerable : false
572
574
} ,
573
575
574
576
_positionLonghandSetter : {
@@ -613,7 +615,8 @@ Object.defineProperties(CSSStyleDeclaration.prototype, {
613
615
this . _setProperty ( shorthandProperty , replacedValue ) ;
614
616
}
615
617
}
616
- }
618
+ } ,
619
+ enumerable : false
617
620
}
618
621
} ) ;
619
622
0 commit comments