Skip to content
Commit 57b124bb authored by Anders Hartvoll Ruud's avatar Anders Hartvoll Ruud Committed by Chromium LUCI CQ
Browse files

[css-color-4] Preserve token range on malformed color-mix/color-contrast

Otherwise we get into problems with double-bar grammars, like e.g.
'border:1px solid color-mix(gibberish)', which will parse successfully
as 'border:1px solid' because the range is left AtEnd in error cases.

Fixed: 1442130
Change-Id: I0d4495afa4cde77d30e88c22c998a4091ce6d56e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4507075


Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Auto-Submit: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1140099}
parent 0c7a19e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment