mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:15:09 +00:00
LibWeb: Clean up shadow root of meter element
This commit is contained in:
parent
34fa49c344
commit
ca94df3c88
2 changed files with 7 additions and 1 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
private:
|
||||
CSS::Selector::PseudoElement m_pseudo_element;
|
||||
};
|
||||
|
||||
class HTMLMeterElement final : public HTMLElement {
|
||||
WEB_PLATFORM_OBJECT(HTMLMeterElement, HTMLElement);
|
||||
JS_DECLARE_ALLOCATOR(HTMLMeterElement);
|
||||
|
@ -63,6 +64,7 @@ public:
|
|||
|
||||
// ^HTMLElement
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(DOM::Node*) override;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#category-label
|
||||
virtual bool is_labelable() const override { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue