Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
-webkit-radial-gradient parsing accidentally treats a number of manda…
…tory commas as optional https://bugs.webkit.org/show_bug.cgi?id=247649 rdar://problem/102111231 Reviewed by Sam Weinig. * LayoutTests/imported/w3c/web-platform-tests/compat/webkit-gradient-comma-expected.txt: Expect PASS. * Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp: (WebCore::CSSPropertyParserHelpers::consumePrefixedRadialGradient): Rearranged the comma parsing so it matches the grammar, and fail if the commas are missing. Canonical link: https://commits.webkit.org/256468@main
- Loading branch information
Showing
2 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
PASS -webkit-radial-gradient accepts comma before color stops. | ||
FAIL -webkit-radial-gradient rejects missing comma before color stops. assert_false: expected false got true | ||
PASS -webkit-radial-gradient rejects missing comma before color stops. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters