mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
html: Add the 'name' and 'areas' IDL attributes for <map> (#40133)
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>
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
interface HTMLMapElement : HTMLElement {
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
// [CEReactions]
|
||||
// attribute DOMString name;
|
||||
// readonly attribute HTMLCollection areas;
|
||||
// readonly attribute HTMLCollection images;
|
||||
[CEReactions] attribute DOMString name;
|
||||
[SameObject] readonly attribute HTMLCollection areas;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user