 (span) { }
</style>

<script>
  'use strict';
  idl_test(
    ['css-cascade', 'css-cascade-6'],
    ['cssom'],
    idl_array => {
      try {
        self.statement = document.styleSheets[0].cssRules.item(0);
        self.layeredImport = document.styleSheets[0].cssRules.item(1);
        self.block = document.styleSheets[0].cssRules.item(2);
        self.scope = document.styleSheets[0].cssRules.item(3);
      } catch (e) {
        // Will be surfaced when any rule is undefined below.
      }

      idl_arra