mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02: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:
Notes:
sideshowbarker
2024-07-17 08:38:05 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/57c6792458 Pull-request: https://github.com/SerenityOS/serenity/pull/14645
@@ -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