mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-23 19:42:53 +00:00
LibWeb: Don't crash when processing a transition with value none
This commit is contained in:
parent
4b9abdb963
commit
fc1026984c
Notes:
github-actions[bot]
2025-04-23 22:01:16 +00:00
Author: https://github.com/tcl3
Commit: fc1026984c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4449
1 changed files with 1 additions and 1 deletions
|
@ -912,7 +912,7 @@ void StyleComputer::for_each_property_expanding_shorthands(PropertyID property_i
|
|||
set_longhand_property(CSS::PropertyID::TransitionProperty, CSSKeywordValue::create(Keyword::All));
|
||||
set_longhand_property(CSS::PropertyID::TransitionDuration, TimeStyleValue::create(CSS::Time::make_seconds(0)));
|
||||
set_longhand_property(CSS::PropertyID::TransitionDelay, TimeStyleValue::create(CSS::Time::make_seconds(0)));
|
||||
set_longhand_property(CSS::PropertyID::TransitionTimingFunction, CSSKeywordValue::create(Keyword::Ease));
|
||||
set_longhand_property(CSS::PropertyID::TransitionTimingFunction, EasingStyleValue::create(EasingStyleValue::CubicBezier::ease()));
|
||||
return;
|
||||
}
|
||||
auto const& transitions = value.as_transition().transitions();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue