1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:34:57 +00:00

LibWeb: Add element adjust_computed_style and move set_property() to it

This commit is contained in:
Bastiaan van der Plaat 2024-03-07 21:27:37 +01:00 committed by Andreas Kling
parent 928287b782
commit 69e4f924b7
9 changed files with 30 additions and 23 deletions

View file

@ -58,6 +58,7 @@ public:
virtual ~HTMLInputElement() override;
virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
virtual void adjust_computed_style(CSS::StyleProperties&) override;
enum class TypeAttributeState {
#define __ENUMERATE_HTML_INPUT_TYPE_ATTRIBUTE(_, state) state,