mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
LibWeb/CSS: Treat repeated text-decoration-line
values as invalid
This commit is contained in:
parent
fdecdb9410
commit
26293114d8
Notes:
github-actions[bot]
2025-06-14 06:20:53 +00:00
Author: https://github.com/tcl3
Commit: 26293114d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5089
Reviewed-by: https://github.com/gmta ✅
2 changed files with 4 additions and 5 deletions
|
@ -3537,7 +3537,7 @@ RefPtr<CSSStyleValue const> Parser::parse_text_decoration_line_value(TokenStream
|
|||
includes_spelling_or_grammar_error_value = true;
|
||||
}
|
||||
if (style_values.contains_slow(value))
|
||||
break;
|
||||
return nullptr;
|
||||
style_values.append(move(value));
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue