mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Resolve percentages in <angular-color-stop-list>
as angles
This commit is contained in:
parent
62c00712fa
commit
cc2c8e8615
Notes:
github-actions[bot]
2025-10-17 07:38:54 +00:00
Author: https://github.com/Calme1709
Commit: cc2c8e8615
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6497
Reviewed-by: https://github.com/tcl3 ✅
4 changed files with 11 additions and 5 deletions
|
@ -120,6 +120,8 @@ Optional<Vector<LinearColorStopListElement>> Parser::parse_linear_color_stop_lis
|
|||
|
||||
Optional<Vector<AngularColorStopListElement>> Parser::parse_angular_color_stop_list(TokenStream<ComponentValue>& tokens)
|
||||
{
|
||||
auto context_guard = push_temporary_value_parsing_context(SpecialContext::AngularColorStopList);
|
||||
|
||||
// <angular-color-stop-list> =
|
||||
// <angular-color-stop> , [ <angular-color-hint>? , <angular-color-stop> ]#
|
||||
return parse_color_stop_list<AngularColorStopListElement>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue