Don't crash when using 'revert' in var() fallback
CSS-wide keywords should not be allowed here in general, but they currently are by Chrome and FF. (And WPT requires this behavior). It would be easy to make revert-in-fallback actually behave as 'revert', but I don't want to ship this behavior since the spec doesn't currently define how to handle this. So for now I'm just adding a unit test that verifies that we don't crash. Bug: 1105635, 1105782 Change-Id: Ia8c9100484c3c351f67aada850211a0ff6d2367f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300079 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#788624}
Showing
Please register or sign in to comment