Skip to content

[css-ui-4] Add full <image> support for 'cursor' property #5834

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions css-ui-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ user resizing of that element.

<pre class="propdef">
Name: cursor
Value: [ [ <<url>> | <<url-set>> ] [&lt;x&gt; &lt;y&gt;]? ]#? <br>
Value: [ <<image>> [&lt;x&gt; &lt;y&gt;]? ]#? <br>
[ auto | default | none |<br>
context-menu | help | pointer | progress | wait | <br>
cell | crosshair | text | vertical-text | <br>
Expand Down Expand Up @@ -665,15 +665,9 @@ Values have the following meanings:
Each author-defined image-based cursor is defined by the following values:

<dl>
<dt><<url>> | <<url-set>>
<dt><<image>>
<dd>
The user agent retrieves the cursor from the resource designated by the <<url>> or <<url-set>>.
Conforming user agents may, instead of <<url>> and <<url-set>>,
support <<image>> which is a superset.

<dfn type>&lt;url-set></dfn> is a limited version of ''image-set()'',
where only <<url>> and <<url-set>> can be used
in the part of the <<image-set-option>> sub-production which would normally allow <<image>>.
The user agent retrieves the cursor from the resource designated by the <<image>>.

The UA must support the following image file formats:

Expand Down