Skip to content

Commit

Permalink
Work around IE/Edge bug with :not([attr]) selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Mar 21, 2017
1 parent a5c143d commit c303623
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/lazy-upgrade.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
<dom-module id="lazy-child">
<template>
<style>
/* Work around IE/Edge bug with :not([attr]) */
:host([disable-upgrade]) {
display: block;
}
:host(:not([disable-upgrade])) {
display: block;
border: 2px solid blue;
Expand Down

0 comments on commit c303623

Please sign in to comment.