[css-values] Spec does not reject duplicate `<request-url-modifier>`s, but WPT does
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
This test requires that a url() with more than one of the same <request-url-modifier> be treated as invalid, but I can't find anything in the spec that says this is invalid. The 3 major engines all pass these tests, so evidently that's the desired behaviour, but it'd be good to specify it. Correction: The 3 major engines pass that test because they don't support url-modifiers at all. So it's not established whether the test behaviour is what's wanted. 😅
The <url> and <url-modifier> definitions in CSS Values 4 do not place any requirements on repeated modifiers.
Likewise, the definitions in CSS Values 5 of <request-url-modifier>s do not say anything about more than one of a given type appearing in a url().
cc: @weinig as you wrote that particular test.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CSS Values 4 and definitions, then compare the CSS Values 5 definitions with url-request-modifiers-invalid.sub.html in WPT. Review the discussion and determine whether repeated modifiers should be invalid; done means the relevant specification text clearly resolves that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100