File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -313,9 +313,10 @@ export default class ElementStyleObserver {
313
313
* Set a CSS property on the target.
314
314
* @param {string } property
315
315
* @param {string } value
316
+ * @param {string } [priority]
316
317
* @return {void }
317
318
*/
318
- setProperty ( property , value ) {
319
+ setProperty ( property , value , priority ) {
319
320
let inlineStyle = this . target . style ;
320
321
let style = inlineStyle ;
321
322
if ( this . _isHost ) {
@@ -343,7 +344,7 @@ export default class ElementStyleObserver {
343
344
style = this . _shadowSheet . cssRules [ 0 ] . style ;
344
345
}
345
346
346
- style . setProperty ( property , value ) ;
347
+ style . setProperty ( property , value , priority ) ;
347
348
// Store reserialized value for later comparison
348
349
this . _styles [ property ] = this . getProperty ( property ) ;
349
350
}
You can’t perform that action at this time.
0 commit comments