mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Rename StyleValue -> CSSStyleValue
This matches the name in the CSS Typed OM spec. https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue No behaviour changes.
This commit is contained in:
parent
2e1f62681c
commit
0e3487b9ab
Notes:
github-actions[bot]
2024-08-15 12:59:46 +00:00
Author: https://github.com/AtkinsSJ
Commit: 0e3487b9ab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1076
100 changed files with 576 additions and 575 deletions
|
@ -154,7 +154,7 @@ WebIDL::ExceptionOr<void> AnimationEffect::update_timing(OptionalEffectTiming ti
|
|||
|
||||
// 4. If the easing member of input exists but cannot be parsed using the <easing-function> production
|
||||
// [CSS-EASING-1], throw a TypeError and abort this procedure.
|
||||
RefPtr<CSS::StyleValue const> easing_value;
|
||||
RefPtr<CSS::CSSStyleValue const> easing_value;
|
||||
if (timing.easing.has_value()) {
|
||||
easing_value = parse_easing_string(realm(), timing.easing.value());
|
||||
if (!easing_value)
|
||||
|
@ -592,7 +592,7 @@ Optional<double> AnimationEffect::transformed_progress() const
|
|||
return m_timing_function.evaluate_at(directed_progress.value(), before_flag);
|
||||
}
|
||||
|
||||
RefPtr<CSS::StyleValue const> AnimationEffect::parse_easing_string(JS::Realm& realm, StringView value)
|
||||
RefPtr<CSS::CSSStyleValue const> AnimationEffect::parse_easing_string(JS::Realm& realm, StringView value)
|
||||
{
|
||||
auto parser = CSS::Parser::Parser::create(CSS::Parser::ParsingContext(realm), value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue