mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibWeb: Make CSS::ComputedProperties GC-allocated
This commit is contained in:
committed by
Andreas Kling
parent
c1cad8fa0e
commit
74469a0c1f
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user