mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Ladybird: Add the node properties tabs to the inspector
This now allows you to view the computed and resolved style values, along with the CSS variables of a node.
This commit is contained in:
parent
aa85a88158
commit
33249c727a
5 changed files with 103 additions and 19 deletions
19
Ladybird/DOMNodeProperties.h
Normal file
19
Ladybird/DOMNodeProperties.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2022, MacDue <macdue@dueutil.tech>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
|
||||
namespace Ladybird {
|
||||
|
||||
struct DOMNodeProperties {
|
||||
String computed_style_json;
|
||||
String resolved_style_json;
|
||||
String custom_properties_json;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue