-
Notifications
You must be signed in to change notification settings - Fork 715
[css-ui] Should the cursor property support image-set()? #5831
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
Comments
Note that WebKit / Blink only allows |
See also the discussions in #2480 and #3432. The prose currently has this note:
I agree that at least Though I can also imagine use cases for the other values of Sebastian |
and
Right. As far as I remember, we wanted to allow and even encourage |
I've added a PR to change it to Sebastian |
I have a few questions about supporting |
How missing natural sizes of images are handled is already defined by this sentence:
Sebastian |
Because the PR for this is lying around for quite some time now and I believe that's something the group can decide on in a call, I marked this as Agenda+. Note, Gecko implemented partial support for the use of The question now is, should the full Sebastian |
The CSS Working Group just discussed
The full IRC log of that discussion<dael> Topic: [css-ui] Should the cursor property support image-set()?<dael> github: https://github.com//issues/5831 <dael> florian: Has always supported url production to point to image <dael> florian: Since css ui 3 spec says it's allowed to support image production to do image sets, gradients, etc <dael> florian: It's as a may b/c as of time for css ui 3 no one did it <dael> florian: Since then we have 1 shipping and 1 experimental of more than urls but supporting image-set function as long as image-set only contains links to urls. <dael> florian: one poss is we keep spec as is. Other is we explicitly call out now that there's 2 impl is you can do url and this version and may the rest. 3rd is switch entire spec to using image production and encourage browsers to fill in what's missing <dael> astearns: Opinions? <dael> florian: I'm inclined to spec what is impl. We were refaining b/c no one had done it. Still not all impl but since we have more spec that would be nice. Can't just use imace-set production b/c no one does gradients. <dael> florian: Since we have multiple implementations we should spec it <dael> astearns: I think fine to spec what's impl. I assume there's no tests in wpt <dael> florian: I haven't checked. As a spec writer Id idn't create <dael> iank_: This just coveres image-set. Also the image function. Was that impl? <dael> florian: Don't think so. Only seen image-set with URLs. spec allows more but I don't think anyone has impl <dael> astearns: Prop: Add a URL param-specific version of image-set function to the cursor property <dael> astearns: Obj? <dael> RESOLVED: Add a URL parameter-specific version of image-set function to the cursor property <dael> astearns: Please do add tests <dael> florian: Sure |
Addressed by 78fb03b |
There was a pre-existing test for |
…rsors, a=testonly Automatic update from web-platform-tests image-set() is no longer optional for cursors See w3c/csswg-drafts#5831 -- Update the parsing test for cursor to reflect the requirement to support image-set() See w3c/csswg-drafts#5831 -- wpt-commits: 45df1db8adb9f0fdd41110886797533b266e3707, 0d792625664243da144f345130ced901c1e95c37 wpt-pr: 33542
…rsors, a=testonly Automatic update from web-platform-tests image-set() is no longer optional for cursors See w3c/csswg-drafts#5831 -- Update the parsing test for cursor to reflect the requirement to support image-set() See w3c/csswg-drafts#5831 -- wpt-commits: 45df1db8adb9f0fdd41110886797533b266e3707, 0d792625664243da144f345130ced901c1e95c37 wpt-pr: 33542
And remove `cursor` property, because it is optional for UA. See: - w3c/csswg-drafts#3432 (comment) - w3c/csswg-drafts#5831 (comment)
WebKit's implementation of image-set allows you to use
cursor: -webkit-image-set()
.There's a few tests in WPT (http://wpt.live/css/css-ui/cursor-image-014.html, http://wpt.live/css/css-ui/cursor-image-015.html), that seem to claim it should work (and it should support full
<image>
syntax). However the spec syntax only has<url>
: https://drafts.csswg.org/css-ui-4/#cursorcc @frivoal
The text was updated successfully, but these errors were encountered: