1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00
serenity/Libraries/LibWeb
Andreas Kling 68b04d5c78 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! :^)
2020-03-25 18:53:20 +01:00
..
Bindings LibWeb: Implement getting and setting element.innerHTML 2020-03-25 18:53:20 +01:00
CodeGenerators AK: Add FlyString, a simple flyweight string class 2020-03-22 13:03:43 +01:00
CSS LibWeb: CSS: Add "position: absolute" with top and left 2020-03-23 20:17:29 +01:00
DOM LibWeb: Implement getting and setting element.innerHTML 2020-03-25 18:53:20 +01:00
Layout LibWeb: CSS: Add "position: absolute" with top and left 2020-03-23 20:17:29 +01:00
Parser LibWeb: Commit uncommitted text at the end of HTML parse 2020-03-25 18:50:10 +01:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.cpp LibWeb: Make dump_tree() look okay for DocumentFragments 2020-03-25 18:49:29 +01:00
Dump.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Forward.h LibWeb: Implement getting and setting element.innerHTML 2020-03-25 18:53:20 +01:00
Frame.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Frame.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
HtmlView.cpp LibWeb: Put selection-related debug spam behind an #ifdef 2020-03-22 13:03:43 +01:00
HtmlView.h LibWeb: Give MouseEvents the correct offsetX and offsetY values 2020-03-21 18:27:06 +01:00
Makefile LibWeb: Implement getting and setting element.innerHTML 2020-03-25 18:53:20 +01:00
RenderingContext.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
TreeNode.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00