mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 13:39:25 +00:00
LibWeb/CSS: Replace resolve_time_deprecated() with resolve_time()
This commit is contained in:
parent
7428a8eb40
commit
0ff012d3f3
Notes:
github-actions[bot]
2025-09-24 15:36:45 +00:00
Author: https://github.com/AtkinsSJ
Commit: 0ff012d3f3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6290
Reviewed-by: https://github.com/tcl3 ✅
4 changed files with 2 additions and 11 deletions
|
@ -696,7 +696,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
|||
computed_values.set_transition_delay(transition_delay.time());
|
||||
} else if (transition_delay_property.is_calculated()) {
|
||||
auto const& transition_delay = transition_delay_property.as_calculated();
|
||||
computed_values.set_transition_delay(transition_delay.resolve_time_deprecated({ .length_resolution_context = CSS::Length::ResolutionContext::for_layout_node(*this) }).value());
|
||||
computed_values.set_transition_delay(transition_delay.resolve_time({ .length_resolution_context = CSS::Length::ResolutionContext::for_layout_node(*this) }).value());
|
||||
}
|
||||
|
||||
auto do_border_style = [&](CSS::BorderData& border, CSS::PropertyID width_property, CSS::PropertyID color_property, CSS::PropertyID style_property) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue