Re: [csswg-drafts] [css-values] Define crossorigin, preload and async URL modifiers (#1603)

> Lol this slipped thru my fingers.
> 
> > I guess this is done now? :)
> 
> Well, you did it, so I didn't exactly gain the knowledge to transfer over to here. ^_^
> 
> > Perhaps we can start with standard loading modifiers (crossorigin and integrity) and expand it to async and perhaps preload later?
> 
> Sounds reasonable.
> 
> > Based on url-modifier, suggesting it would look like:
> 
> Yes, tho the integrity hash needs to be a string, not an ident. It comes from outside CSS so there's no guarantee it'll always stick to our ident syntax rules. The other two are good tho - technically those values don't come from CSS either, but they're a finite set so we can always give a different "CSS-compatible" keyword if necessary (tho that seems incredibly unlikely).

Sounds good! I started a PR: https://github.com/w3c/csswg-drafts/pull/8222
I can probably use some (a lot of) editorial help there but I've set the functional foundations.

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


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

Received on Wednesday, 14 December 2022 11:28:28 UTC