1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00
ladybird/Services/WebContent
Timothy Flynn 72905c84d5 LibWeb+LibWebView+WebContent: Support both inspecting/highlighting nodes
Our own Inspector differs from most other DevTools implementations with
regard to highlighting DOM nodes as you hover elements in the inspected
DOM tree. In other implementations, as you change the hovered node, the
browser will render a box model overlay onto the page for that node. We
currently don't do this; we wait until you click the node, at which
point we both paint the overlay and inspect the node's properties.

This patch does not change that behavior, but separates the IPCs and
internal tracking of inspected nodes to support the standard DevTools
behavior. So the DOM document now stores an inspected node and a
highlighted node. The former is used for features such as "$0" in the
JavaScript console, and the latter is used for the box model overlay.
Our Inspector continues to set these to the same node.
2025-02-24 12:05:29 -05:00
..
BackingStoreManager.cpp Everywhere: Hoist the Services folder to the top-level 2024-11-10 12:50:45 +01:00
BackingStoreManager.h LibWeb+Services: Remove unused #includes 2025-01-31 13:28:09 +01:00
CMakeLists.txt Meta: Link with OpenSSL explicitly 2025-02-17 12:36:26 +01:00
ConnectionFromClient.cpp LibWeb+LibWebView+WebContent: Support both inspecting/highlighting nodes 2025-02-24 12:05:29 -05:00
ConnectionFromClient.h LibWeb+LibWebView+WebContent: Support both inspecting/highlighting nodes 2025-02-24 12:05:29 -05:00
ConsoleGlobalEnvironmentExtensions.cpp LibWeb+LibWebView+WebContent: Support both inspecting/highlighting nodes 2025-02-24 12:05:29 -05:00
ConsoleGlobalEnvironmentExtensions.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Forward.h Everywhere: Hoist the Services folder to the top-level 2024-11-10 12:50:45 +01:00
main.cpp LibWebView+ImageDecoder+RequestServer+WebContent: Add init_transport 2025-02-12 22:32:13 -07:00
PageClient.cpp LibWeb: Schedule input event processing on HTML event loop 2025-02-15 21:09:18 +01:00
PageClient.h LibWeb: Schedule input event processing on HTML event loop 2025-02-15 21:09:18 +01:00
PageHost.cpp Everywhere: Use URL::about_XXX factory functions 2025-02-15 17:05:55 +00:00
PageHost.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebContentClient.ipc LibWebView+WebContent: Transfer inspected DOM info over IPC as String 2025-02-24 12:05:29 -05:00
WebContentConsoleClient.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
WebContentConsoleClient.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebContentServer.ipc LibWeb+LibWebView+WebContent: Support both inspecting/highlighting nodes 2025-02-24 12:05:29 -05:00
WebDriverClient.ipc LibWeb+WebContent+WebDriver: Allow specifying multiple prompt handlers 2025-02-06 09:01:16 -05:00
WebDriverConnection.cpp LibWeb+WebContent+WebDriver: Port WebDriver to String 2025-02-20 19:27:51 -05:00
WebDriverConnection.h LibWeb+WebContent+WebDriver: Port WebDriver to String 2025-02-20 19:27:51 -05:00
WebDriverServer.ipc Everywhere: Hoist the Services folder to the top-level 2024-11-10 12:50:45 +01:00