mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-15 21:41:58 +00:00
LibWeb: Rename "var_or_attr" to "arbitrary_substitution_function"
This is the spec term, and will apply to many more things than var() and attr().
This commit is contained in:
parent
8f01297182
commit
b5ed910f1f
Notes:
github-actions[bot]
2025-07-09 15:46:26 +00:00
Author: https://github.com/AtkinsSJ
Commit: b5ed910f1f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5226
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 8 additions and 8 deletions
|
@ -4222,7 +4222,7 @@ NonnullRefPtr<CSSStyleValue const> Parser::resolve_unresolved_style_value(Parsin
|
|||
{
|
||||
// Unresolved always contains a var() or attr(), unless it is a custom property's value, in which case we shouldn't be trying
|
||||
// to produce a different CSSStyleValue from it.
|
||||
VERIFY(unresolved.contains_var_or_attr());
|
||||
VERIFY(unresolved.contains_arbitrary_substitution_function());
|
||||
|
||||
auto parser = Parser::create(context, ""sv);
|
||||
return parser.resolve_unresolved_style_value(element, pseudo_element, property_id, unresolved);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue