mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:57:44 +00:00
LibWeb: Make computed opacity always available
No need to store opacity as Optional<float> as there's always a value (and the default initial value is 1.)
This commit is contained in:
parent
07f15aa550
commit
ff45eb7fb1
6 changed files with 14 additions and 20 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
float flex_grow() const;
|
||||
float flex_shrink() const;
|
||||
Optional<CSS::AlignItems> align_items() const;
|
||||
Optional<float> opacity() const;
|
||||
float opacity() const;
|
||||
Optional<CSS::JustifyContent> justify_content() const;
|
||||
Optional<CSS::Overflow> overflow_x() const;
|
||||
Optional<CSS::Overflow> overflow_y() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue