mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibWeb: Support appearance: none for <progress> elements
This disables this system progress bar, and instead creates one out of pseudo elements, that can be selected and styled with the ::-webkit-progress-bar/value selectors.
This commit is contained in:
@@ -31,7 +31,11 @@ public:
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#category-label
|
||||
virtual bool is_labelable() const override { return true; }
|
||||
|
||||
bool using_system_appearance() const;
|
||||
|
||||
private:
|
||||
void progress_position_updated();
|
||||
|
||||
bool is_determinate() const { return has_attribute(HTML::AttributeNames::value); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user