mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +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
|
@ -108,6 +108,8 @@ public:
|
|||
String inner_html() const;
|
||||
ExceptionOr<void> set_inner_html(String const&);
|
||||
|
||||
ExceptionOr<void> insert_adjacent_html(String position, String text);
|
||||
|
||||
bool is_focused() const;
|
||||
bool is_active() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue