-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add colorprofile destination #1331
Conversation
For CSS color-profiles (https://drafts.csswg.org/css-color-4/#at-profile) Uses `style-src` for CSP. Closes whatwg#1324
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modulo nit this looks good. Though as a follow-up the order of destinations in the table needs adjusting. It used to be lexicographical within a given initiator, but that got lost after some additions.
Eh, I mean, it seems like you should be able to answer "are multiple implementations planning on fetching color profiles, or is fetching color profiles a single-browser idea/a CSSWG spec-fiction?" I think we can relax the
request in this case since it's more of a registry/cross-spec integration issue. But it'd still be good to double-check that we're not putting something in that will never get implemented, or that supports a forever-single-vendor feature. |
Fair. For Gecko it's something we'd probably consider implementing once we have all the other wide gamut features, but there isn't even a concrete half-float canvas API proposal yet, so it really seems quite far out there. And then I'm not sure to what extent the external color profile formats have been vetted. It certainly seems like the fetch pipeline has seen little attention. Do you know who to ask for Chromium? @smfr I guess color profiles are something you can comment on for WebKit? |
I think I've stated in the past that Apple doesn't have any plans to implement color profile fetching. There are too many issues with asynchrony to work out. |
Closing for now as color profiles are far from consensus at this point. |
For CSS color-profiles
(https://drafts.csswg.org/css-color-4/#at-profile)
Uses
style-src
for CSP.Closes #1324
(See WHATWG Working Mode: Changes for more details.)
Preview | Diff