mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibWeb: Make DOM inspector overlay rects a little nicer
Instead of just the outline, fill them with some semi-transparent color. Also add tag name, ID, classes and coordinates to the little tooltip. Finally, use the border box instead of the context box for metrics, same as other browsers.
This commit is contained in:
parent
c59ab7cc8b
commit
784dbdef8e
3 changed files with 42 additions and 11 deletions
|
@ -208,6 +208,8 @@ public:
|
|||
|
||||
bool is_uninteresting_whitespace_node() const;
|
||||
|
||||
String debug_description() const;
|
||||
|
||||
protected:
|
||||
Node(Document&, NodeType);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue