mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:55:10 +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:
parent
d7d34d88e5
commit
57c6792458
3 changed files with 53 additions and 7 deletions
|
@ -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); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue