mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:47:35 +00:00
LibWeb: Add a partial implementation of Element.setAttributeNS()
This implementation does some of the required validation and then passes through the localName and value to Element.setAttribute().
This commit is contained in:
parent
2518f2045e
commit
e2c71b6725
3 changed files with 59 additions and 0 deletions
|
@ -6,6 +6,7 @@ interface Element : Node {
|
|||
|
||||
DOMString? getAttribute(DOMString qualifiedName);
|
||||
undefined setAttribute(DOMString qualifiedName, DOMString value);
|
||||
[CEReactions] undefined setAttributeNS(DOMString? namespace , DOMString qualifiedName , DOMString value);
|
||||
undefined removeAttribute(DOMString qualifiedName);
|
||||
boolean hasAttribute(DOMString qualifiedName);
|
||||
boolean hasAttributes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue