mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 05:29:56 +00:00
LibWeb: Store stop-opacity
in computed form in ComputedProperties
This commit is contained in:
parent
9434b08bed
commit
c045969234
Notes:
github-actions[bot]
2025-09-08 10:06:57 +00:00
Author: https://github.com/Calme1709
Commit: c045969234
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6112
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 2 additions and 6 deletions
|
@ -515,8 +515,7 @@ float ComputedProperties::stroke_opacity() const
|
|||
|
||||
float ComputedProperties::stop_opacity() const
|
||||
{
|
||||
auto const& value = property(PropertyID::StopOpacity);
|
||||
return resolve_opacity_value(value);
|
||||
return property(PropertyID::StopOpacity).as_number().number();
|
||||
}
|
||||
|
||||
FillRule ComputedProperties::fill_rule() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue