-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relative color components are unitless, remove tests assuming otherwise
Some old spec examples combined color components (which are unitless) with percentages and angles. Per spec, this is invalid: https://drafts.css-houdini.org/css-typed-om-1/#numeric-typing These examples were changed here, but remained in WPT: w3c/csswg-drafts@76d3f78 w3c/csswg-drafts@c3de94f These invalid tests are removed and the valid, unitless versions that exist inside the spec are included in color-valid-relative-color and color-computed-relative-color instead: https://drafts.csswg.org/css-color-5/ Since tests are being removed here, virtual/stable needs to change. Also, the Example numbers are removed from the test file because they appear to change often. For example, they are now different on the publication version, which is different from the current draft, which is different from the test. It's probably not worthwhile to keep these in sync. Bug: 1447327 Change-Id: I8796b63db60e77a0be429360d11de0d9fd02b5f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4827664 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1190680}
- Loading branch information
1 parent
b7902e1
commit 1dcb7f0
Showing
2 changed files
with
18 additions
and
58 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
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