1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00
serenity/Libraries/LibWeb
Andreas Kling 96da15a8a4 LibWeb: Respect CSS z-index property while painting
To support z-ordering when painting, the layout tree now has a parallel
sparse tree of stacking contexts. The rules for which layout boxes
establish a stacking context are a bit complex, but the intent is to
encapsulate the decision making into establishes_stacking_context().

When we paint, we start from the ICB (LayoutDocument) who always has a
StackingContext and then paint the tree of StackingContexts where each
node has its children sorted by z-index.

This is pretty crude, but gets the basic job done. Note that this does
not yet support hit testing; hit testing is still done using a naive
treewalk from the root.
2020-06-15 17:56:00 +02:00
..
Bindings LibJS: Consolidate error messages into ErrorTypes.h 2020-06-11 07:46:20 +02:00
CodeGenerators AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
CSS LibWeb: Respect CSS z-index property while painting 2020-06-15 17:56:00 +02:00
DOM LibWeb: Move "visible in viewport" state tracking to ImageLoader 2020-06-14 19:32:23 +02:00
Frame LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Layout LibWeb: Respect CSS z-index property while painting 2020-06-15 17:56:00 +02:00
Loader LibWeb: Don't animate images outside the visible viewport :^) 2020-06-14 19:35:10 +02:00
Parser LibWeb: Fully implement HTML parser "in table" insertion mode 2020-06-14 14:07:07 +02:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CMakeLists.txt LibWeb: Respect CSS z-index property while painting 2020-06-15 17:56:00 +02: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: Reorganize layout algorithm 2020-06-14 19:01:54 +02:00
Dump.h LibWeb: Add naive support for document.querySelectorAll() 2020-03-30 11:35:39 +02: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: Respect CSS z-index property while painting 2020-06-15 17:56:00 +02:00
LayoutTreeModel.cpp LibWeb+Browser: Add a barebones LayoutTreeModel to the inspector window 2020-06-12 22:30:11 +02:00
LayoutTreeModel.h LibWeb+Browser: Add a barebones LayoutTreeModel to the inspector window 2020-06-12 22:30:11 +02:00
Origin.h LibWeb: Add Origin concept (protocol, host, port tuple) 2020-04-07 23:01:45 +02:00
Page.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Page.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
PageView.cpp LibWeb: Add basic support for position:fixed 2020-06-12 14:20:07 +02:00
PageView.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
RenderingContext.h LibWeb: Add basic support for position:fixed 2020-06-12 14:20:07 +02:00
StylePropertiesModel.cpp LibWeb: Sort style properties by name in the inspector window 2020-06-13 19:53:28 +02:00
StylePropertiesModel.h LibWeb: replace some tab characters with spaces 2020-05-28 17:01:31 +02:00
TreeNode.h LibWeb: Add a way to opt out of TreeNode::append_child() notifications 2020-05-24 23:54:22 +02:00
URLEncoder.cpp LibWeb: Make the URL encoding function a little less copy-happy 2020-05-05 15:50:28 +02:00
URLEncoder.h LibWeb: Make the URL encoding function a little less copy-happy 2020-05-05 15:50:28 +02:00