blob: d5d40c54616745c6110078d34c591d6d07a92fb2 [file] [log] [blame]
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
class MyElement extends HTMLElement {};
customElements.define('my-element', MyElement);
idl_test(
['custom-state-pseudo-class'],
['html', 'wai-aria'],
idl_array => {
idl_array.add_objects({
CustomStateSet: [ 'customStateSet' ],
});
const myElement = document.createElement('my-element');
self.customStateSet = myElement.attachInternals().states;
}
);