Re: [csswg-drafts] [css-values] attr()'s url type seems wrong (#5079)

I see. Nobody replied to my question at https://github.com/w3c/csswg-drafts/issues/5079#issuecomment-2572549032 other than a vague hint that the concern was indeed correct. If it's incorrect and the feature indeed always matches the algorithm HTML follows, including when a style sheet is used by multiple documents and such, there might be less of an issue. Is there test coverage for that?

However, it's probably still a bad idea as a serialized URL doesn't work well internationally. It's always in ASCII so IDNA domain names become Punycode, Unicode paths become percent-encoded gibberish. Unless much more work is done (including work user agents have thus far opposed), it seems like the feature would be far too Western-centric to include.

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5079#issuecomment-2796513955 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 11 April 2025 10:28:03 UTC