Skip to content

Commit

Permalink
:defined works
Browse files Browse the repository at this point in the history
  • Loading branch information
pshaughn authored and servo-wpt-sync committed Jan 31, 2020
1 parent 638f177 commit cdd3b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom-elements/pseudo-class-defined.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
const neither = 'rgb(255, 0, 0)';
const defined = 'rgb(255, 165, 0)';
const not_defined = 'rgb(0, 0, 255)';
const iframe = document.getElementById("iframe");
iframe.srcdoc = `<style>
* { color:${neither}; }
:defined { color:${defined}; }
Expand Down

0 comments on commit cdd3b61

Please sign in to comment.