Skip to content

Commit c303623

Browse files
committed
Work around IE/Edge bug with :not([attr]) selectors
1 parent a5c143d commit c303623

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎test/unit/lazy-upgrade.html‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
<dom-module id="lazy-child">
4444
<template>
4545
<style>
46+
/* Work around IE/Edge bug with :not([attr]) */
47+
:host([disable-upgrade]) {
48+
display: block;
49+
}
4650
:host(:not([disable-upgrade])) {
4751
display: block;
4852
border: 2px solid blue;

0 commit comments

Comments
 (0)