mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Follow the HTML specification and add the missing 'name' and 'areas' IDL attributes to HTMLMapElement. https://html.spec.whatwg.org/multipage/#htmlmapelement Testing: Improvements in the following WPT tests - custom-elements/reactions/customized-builtins/HTMLMapElement.html - html/dom/idlharness.https.html Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
13 lines
460 B
Plaintext
13 lines
460 B
Plaintext
/* 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 https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#htmlmapelement
|
|
[Exposed=Window]
|
|
interface HTMLMapElement : HTMLElement {
|
|
[HTMLConstructor] constructor();
|
|
|
|
[CEReactions] attribute DOMString name;
|
|
[SameObject] readonly attribute HTMLCollection areas;
|
|
};
|