<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="author" title="Keith Cirkel" href="mailto:wpt@keithcirkel.co.uk" />
    <link rel="help" href="https://html.spec.whatwg.org/multipage/custom-elements.html#custom-state-pseudo-class" />
    <title>:state() css selector applies to nth-of selectors</title>

    <script src="../../resources/testharness.js"></script>
    <script src="../../resources/testharnessreport.js"></script>
  </head>
  <body>
    <custom-state id="myCE">First Eleme