script: Allow any valid CSS color for color input values#42275
Merged
simonwuelker merged 2 commits intoservo:mainfrom Feb 1, 2026
Merged
script: Allow any valid CSS color for color input values#42275simonwuelker merged 2 commits intoservo:mainfrom
simonwuelker merged 2 commits intoservo:mainfrom
Conversation
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
d1bb493 to
0321850
Compare
|
🔨 Triggering try run (#21567142498) for Linux (WPT) |
|
Test results for linux-wpt from try job (#21567142498): Flaky unexpected result (27)
Stable unexpected results that are known to be intermittent (30)
|
|
✨ Try run (#21567142498) succeeded. |
TimvdLippe
approved these changes
Feb 1, 2026
| [Testing '#fff' with color space 'limited-srgb' and without alpha (setAttribute("value"))] | ||
| expected: FAIL | ||
|
|
||
| [Testing '#fff' with color space 'limited-srgb' and without alpha (value)] |
Contributor
There was a problem hiding this comment.
What's the reason that the previous test is now passing, but these ones aren't?
Contributor
Author
There was a problem hiding this comment.
they use the limited-srgb colorspace (or other non-default ones), and we don't support the colorspace attribute yet, so these get serialized incorrectly.
Contributor
Author
There was a problem hiding this comment.
What I said is wrong, limited-srgb is the default. But we don't implement other things that this test needs, like the colorSpace IDL attribute on HTMLInputElement. I'll fix these in a followup.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing: New tests start to pass
Closes: #42117