mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
LibWeb: Implement Element.hasAttributeNS
Particularly needed by xkcd's Right Click comic. https://xkcd.com/1975/
This commit is contained in:
parent
3a98c48f20
commit
5694981352
3 changed files with 13 additions and 0 deletions
|
@ -35,6 +35,7 @@ interface Element : Node {
|
|||
[CEReactions] undefined removeAttribute(DOMString qualifiedName);
|
||||
[CEReactions] boolean toggleAttribute(DOMString qualifiedName, optional boolean force);
|
||||
boolean hasAttribute(DOMString qualifiedName);
|
||||
boolean hasAttributeNS(DOMString? namespace, DOMString localName);
|
||||
boolean hasAttributes();
|
||||
[SameObject] readonly attribute NamedNodeMap attributes;
|
||||
sequence<DOMString> getAttributeNames();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue