diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-25 18:53:20 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-25 18:53:20 +0100 |
commit | 68b04d5c78612ea03d1df0014c107340f817b6d7 (patch) | |
tree | 9fd43582dde886960d61af3c20b9cf99869b10a3 /Kernel/MousePacket.h | |
parent | 632cc53e2c02b05993458115baeb44cf6a0702ec (diff) | |
download | serenity-68b04d5c78612ea03d1df0014c107340f817b6d7.zip |
LibWeb: Implement getting and setting element.innerHTML
Getting the innerHTML property will recurse through the subtree inside
the element and serialize it into a string as it goes.
Setting it will parse the set value as an HTML fragment. It will then
remove all current children of the element and replace them with all
the children inside the parsed fragment.
Setting element.innerHTML will currently force a complete rebuild of
the document's layout tree.
This is pretty neat! :^)
Diffstat (limited to 'Kernel/MousePacket.h')
0 files changed, 0 insertions, 0 deletions