mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 0f74915a040e481eefedaddd5fe0cf5c16043a5d
This commit is contained in:
parent
4ae534e875
commit
a4eda174fa
91 changed files with 1112 additions and 201 deletions
|
@ -3,12 +3,18 @@
|
|||
|
||||
'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({
|
||||
// Nothing to add; spec only defined a partial interface.
|
||||
CustomStateSet: [ 'customStateSet' ],
|
||||
});
|
||||
|
||||
const myElement = document.createElement('my-element');
|
||||
self.customStateSet = myElement.attachInternals().states;
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue