LibWeb: Make CSS::ComputedProperties GC-allocated

This commit is contained in:
Andreas Kling
2024-12-20 16:35:12 +01:00
committed by Andreas Kling
parent c1cad8fa0e
commit 74469a0c1f
138 changed files with 337 additions and 339 deletions

View File

@@ -58,7 +58,7 @@ class HTMLInputElement final
public:
virtual ~HTMLInputElement() override;
virtual GC::Ptr<Layout::Node> create_layout_node(CSS::ComputedProperties) override;
virtual GC::Ptr<Layout::Node> create_layout_node(GC::Ref<CSS::ComputedProperties>) override;
virtual void adjust_computed_style(CSS::ComputedProperties&) override;
enum class TypeAttributeState {
@@ -241,7 +241,7 @@ private:
// ^DOM::Element
virtual i32 default_tab_index_value() const override;
virtual void computed_css_values_changed() override;
virtual void computed_properties_changed() override;
// https://html.spec.whatwg.org/multipage/input.html#image-button-state-(type=image):dimension-attributes
virtual bool supports_dimension_attributes() const override { return type_state() == TypeAttributeState::ImageButton; }