mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb/CSS: Update syntax comments for a couple of properties
Corresponds to:3a2ac8d75cfdc08f79a2No code changes.
This commit is contained in:
parent
9b4d9966da
commit
6b46bed970
Notes:
github-actions[bot]
2025-12-04 13:38:49 +00:00
Author: https://github.com/AtkinsSJ
Commit: 6b46bed970
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7016
2 changed files with 3 additions and 2 deletions
|
|
@ -2282,6 +2282,7 @@ RefPtr<StyleValue const> Parser::parse_color_mix_function(TokenStream<ComponentV
|
|||
|
||||
// color-mix() = color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#)
|
||||
// FIXME: Update color-mix to accept 1+ colors instead of exactly 2.
|
||||
// FIXME: <color-interpolation-method> is optional in the current spec.
|
||||
auto transaction = tokens.begin_transaction();
|
||||
tokens.discard_whitespace();
|
||||
|
||||
|
|
@ -2529,7 +2530,7 @@ RefPtr<StyleValue const> Parser::parse_corner_shape_value(TokenStream<ComponentV
|
|||
}
|
||||
|
||||
if (token.is_function("superellipse"sv)) {
|
||||
// superellipse() = superellipse(<number [-∞,∞]> | infinity | -infinity)
|
||||
// superellipse() = superellipse(<number> | infinity | -infinity)
|
||||
auto const& function = token.function();
|
||||
|
||||
auto context_guard = push_temporary_value_parsing_context(FunctionContext { function.name });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue