LibWeb/CSS: Replace resolve_time_deprecated() with resolve_time()

This commit is contained in:
Sam Atkins 2025-09-24 13:57:37 +01:00 committed by Tim Ledbetter
commit 0ff012d3f3
Notes: github-actions[bot] 2025-09-24 15:36:45 +00:00
4 changed files with 2 additions and 11 deletions

View file

@ -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) {