mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibWeb: Implement Element.insertAdjacentHTML() from DOM Parsing
One edge case is left as a TODO() for now, since I'm not entirely sure how to construct an element to those specifications. With this patch, we can now run the Speedometer benchmark! :^)
This commit is contained in:
parent
287a9b552a
commit
aa4dd6c1bc
5 changed files with 80 additions and 1 deletions
|
@ -52,6 +52,8 @@ interface Element : Node {
|
|||
readonly attribute long clientLeft;
|
||||
readonly attribute long clientWidth;
|
||||
readonly attribute long clientHeight;
|
||||
|
||||
[CEReactions] undefined insertAdjacentHTML(DOMString position, DOMString text);
|
||||
};
|
||||
|
||||
Element includes ParentNode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue