mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement RadioNodeList
This commit is contained in:
parent
e93a460db4
commit
9e3af70941
6 changed files with 175 additions and 11 deletions
|
@ -8,9 +8,3 @@ interface HTMLFormControlsCollection : HTMLCollection {
|
|||
// inherits length and item()
|
||||
// getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()
|
||||
};
|
||||
|
||||
/*
|
||||
interface RadioNodeList : NodeList {
|
||||
attribute DOMString value;
|
||||
};
|
||||
*/
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
*/
|
||||
|
||||
interface NodeList {
|
||||
[Pure]
|
||||
readonly attribute unsigned long length;
|
||||
[Pure]
|
||||
getter Node? item(unsigned long index);
|
||||
[Pure]
|
||||
readonly attribute unsigned long length;
|
||||
// iterable<Node>;
|
||||
};
|
||||
|
|
9
components/script/dom/webidls/RadioNodeList.webidl
Normal file
9
components/script/dom/webidls/RadioNodeList.webidl
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#radionodelist
|
||||
interface RadioNodeList : NodeList {
|
||||
attribute DOMString value;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue