summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/text/shadow-rules.html
blob: 906472ea5a9f8e7668346374a6b5a78a92df9cbe (plain)
1
2
3
4
5
6
7
8
9
10
<!doctype html>
<div id="host"></div>
<script>
  host.attachShadow({ mode: "open" }).innerHTML = `
    <style>
      input > *|* { color: red !important; }
    </style>
    <input type="text" value="Should not be red">
  `;
</script>