mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-02 00:13:02 +00:00
LibWeb: Show correct element margin values in Inspector "Box Model" view
We were showing the margin-top value for all 4 margin values.
This commit is contained in:
parent
261cd1d4c7
commit
bd44d9d641
Notes:
sideshowbarker
2024-07-17 20:19:08 +09:00
Author: https://github.com/awesomekling
Commit: bd44d9d641
1 changed files with 3 additions and 3 deletions
|
@ -313,9 +313,9 @@ Messages::WebContentServer::InspectDomNodeResponse ConnectionFromClient::inspect
|
|||
MUST(serializer.add("padding_bottom", box_model.padding.bottom));
|
||||
MUST(serializer.add("padding_left", box_model.padding.left));
|
||||
MUST(serializer.add("margin_top", box_model.margin.top));
|
||||
MUST(serializer.add("margin_right", box_model.margin.top));
|
||||
MUST(serializer.add("margin_bottom", box_model.margin.top));
|
||||
MUST(serializer.add("margin_left", box_model.margin.top));
|
||||
MUST(serializer.add("margin_right", box_model.margin.right));
|
||||
MUST(serializer.add("margin_bottom", box_model.margin.bottom));
|
||||
MUST(serializer.add("margin_left", box_model.margin.left));
|
||||
MUST(serializer.add("border_top", box_model.border.top));
|
||||
MUST(serializer.add("border_right", box_model.border.right));
|
||||
MUST(serializer.add("border_bottom", box_model.border.bottom));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue