1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Libraries/LibWeb
Andreas Kling ddbfd77e2c LibWeb: Don't put block boxes inside inlines
Inline layout nodes cannot have block children (except inline-block,
of course.)

When encountering a block box child of an inline, we now hoist the
block up to the inline's containing block, and also wrap any preceding
inline siblings in an anonymous wrapper block.

This improves the ACID2 situation quite a bit (although we still need
floats to really bring it home.)

I also took this opportunity to move all tree building logic into
Layout::TreeBuilder, to continue the theme of absolving our LayoutNode
objects of responsibilities. :^)
2020-11-26 21:22:42 +01:00
..
Bindings LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
CodeGenerators LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
CSS LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
DOM LibWeb: Rename Layout::LayoutTreeBuilder => Layout::TreeBuilder 2020-11-25 21:27:18 +01:00
HighResolutionTime LibWeb: Make event dispatching spec-compliant 2020-11-22 18:20:56 +01:00
HTML LibWeb: Add the submit event to HTMLFormElement 2020-11-22 18:20:56 +01:00
Layout LibWeb: Don't put block boxes inside inlines 2020-11-26 21:22:42 +01:00
Loader LibWeb: Use standardized encoding names, add encoding attribute to document 2020-11-14 10:14:03 +01:00
Page LibWeb: Add HTML::EventNames and UIEvents::EventNames 2020-11-22 18:20:56 +01:00
Painting LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Scripts LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
SVG LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Tests LibWeb: Add initial implementation of foreign content parsing 2020-10-22 15:24:42 +02:00
UIEvents LibWeb: Add HTML::EventNames and UIEvents::EventNames 2020-11-22 18:20:56 +01:00
CMakeLists.txt LibWeb: Rename Layout::LayoutTreeBuilder => Layout::TreeBuilder 2020-11-25 21:27:18 +01:00
DOMTreeModel.cpp LibWeb: Implement <template> parsing 2020-08-21 11:57:11 +02:00
DOMTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Dump.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Dump.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h LibWeb: Add the submit event to HTMLFormElement 2020-11-22 18:20:56 +01:00
InProcessWebView.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
InProcessWebView.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
LayoutTreeModel.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
LayoutTreeModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
Namespace.cpp LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Namespace.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
Origin.h LibWeb: Add Origin::is_same(const Origin&) 2020-09-22 20:10:20 +02:00
OutOfProcessWebView.cpp LibWeb: Don't attempt to create new bitmap for zero-size OOPWV 2020-11-08 17:21:11 +01:00
OutOfProcessWebView.h LibGUI: Add Widget focus policies 2020-10-30 17:03:28 +01:00
QualifiedName.h LibWeb: Add namespace to Element 2020-10-22 15:24:42 +02:00
StylePropertiesModel.cpp LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
StylePropertiesModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
TreeNode.h LibWeb: Expose ParentNode.{first,last}ElementChild 2020-11-22 18:20:56 +01:00
URLEncoder.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
URLEncoder.h Meta+LibHTTP through LibWeb: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
WebContentClient.cpp LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
WebContentClient.h LibWeb: Support window.alert() in multi-process context 2020-09-12 14:49:29 +02:00
WebViewHooks.h LibWeb: Add a PageClient callback for image context menu requests 2020-10-02 19:02:47 +02:00