diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-10 10:38:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-11 00:21:49 +0100 |
commit | 9f5cbcaad39aa9df43694140613fdd8b3b2fe5b2 (patch) | |
tree | 3091144b77cf21e3409d04f2f93f6256538bfc90 /Userland/Services | |
parent | cc8e429126f95aa27c675817f79cbdc8002e18a0 (diff) | |
download | serenity-9f5cbcaad39aa9df43694140613fdd8b3b2fe5b2.zip |
LibWeb: Hang StackingContext off of the paint boxes
Stacking contexts have nothing to do with layout and everything with
painting, so let's keep them in Painting::Box.
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WebContent/ConnectionFromClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/ConnectionFromClient.cpp b/Userland/Services/WebContent/ConnectionFromClient.cpp index ad66641500..fa3386f260 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.cpp +++ b/Userland/Services/WebContent/ConnectionFromClient.cpp @@ -190,7 +190,7 @@ void ConnectionFromClient::debug_request(const String& request, const String& ar if (request == "dump-stacking-context-tree") { if (auto* doc = page().top_level_browsing_context().active_document()) { if (auto* icb = doc->layout_node()) { - if (auto* stacking_context = icb->stacking_context()) + if (auto* stacking_context = icb->m_paint_box->stacking_context()) stacking_context->dump(); } } |