-
Notifications
You must be signed in to change notification settings - Fork 669
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
[css-lists] The cursor
property should apply to ::marker
s
#6203
Comments
I already mentioned
I guess the However, resetting |
I think that even though this expresses the geometry, it doesn't do so in a way that would significantly break if we change how the geometry is calculated, so I think it would be safe to apply this to |
Thinking about this again:
I still think |
I think the use of
If we just allow the use of the cursor, we can't solve similar problems completely. So I think a generic pseudo-element should be added, which faces the same problem as checkmark in |
Sure, but allowing |
I agree. |
Here is a collection of requests to support more properties in |
The CSS Working Group just discussed
The full IRC log of that discussion<flackr> fantasai: proposal is to allow cursor to ::marker. Technically this exposes the geometry of ::marker which we avoided in the past because we haven't defined the layout of it<flackr> fantasai: changing the cursor a few pixels either way seems unlikley to break anything significant so it seems like it should be same to apply even though we don't know where it is <TabAtkins> +1 <flackr> astearns: comments or questions? <kizu> +1 <fantasai> s/same to/safe to/ <TabAtkins> (we should solve this issue more generally, but this is good as a particular change) <ChrisL> +1 to allowing cursor in ::marker but note the list of other properties to add at the end of that issue <ChrisL> q+ <florian> +1 to allowing it <flackr> TabAtkins: we should figure out how to make marker have the same power as before and after in the future <flackr> TabAtkins: we'd like to make it a real element that's just not in the tree <astearns> ack ChrisL <fantasai> an "element-emulating" pseudo-element :p <flackr> ChrisL: I think it's good to add it, the last comment in the issue has a bunch of other properties which should prob be added so let's not close it off without migrating it <flackr> astearns: links to other issues though <flackr> Proposed resolution: cursor property applies to ::marker pseudo <flackr> RESOLVED: cursor property applies to ::marker pseudo |
According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676
According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462 Reviewed-by: Steinar H Gunderson <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1337776}
According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462 Reviewed-by: Steinar H Gunderson <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1337776}
According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462 Reviewed-by: Steinar H Gunderson <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1337776}
…nts, a=testonly Automatic update from web-platform-tests Accept 'cursor' on ::marker pseudo-elements According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462 Reviewed-by: Steinar H Gunderson <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1337776} -- wpt-commits: 165162b51fc2d3d0cc39d930c6aed809adef58cb wpt-pr: 47454
…nts, a=testonly Automatic update from web-platform-tests Accept 'cursor' on ::marker pseudo-elements According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462 Reviewed-by: Steinar H Gunderson <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1337776} -- wpt-commits: 165162b51fc2d3d0cc39d930c6aed809adef58cb wpt-pr: 47454
…nts, a=testonly Automatic update from web-platform-tests Accept 'cursor' on ::marker pseudo-elements According to this CSSWG resolution: w3c/csswg-drafts#6203 (comment) Bug: 352335092 Change-Id: I5d1c2f89cabf10e397de70bd70bfbe03910a0676 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5756462 Reviewed-by: Steinar H Gunderson <[email protected]> Commit-Queue: Oriol Brufau <[email protected]> Cr-Commit-Position: refs/heads/main@{#1337776} -- wpt-commits: 165162b51fc2d3d0cc39d930c6aed809adef58cb wpt-pr: 47454
https://bugs.webkit.org/show_bug.cgi?id=277662 rdar://problem/133256523 Reviewed by NOBODY (OOPS!). Add CSSPropertyCursor to the list of ValidMarkerStyleProperties because the CSS Working Group agreed that "cursor property applies to ::marker pseudo" w3c/csswg-drafts#6203 (comment) * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/marker-hit-testing-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt: * Source/WebCore/style/PropertyAllowlist.cpp: (WebCore::Style::isValidMarkerStyleProperty):
https://bugs.webkit.org/show_bug.cgi?id=277662 rdar://problem/133256523 Reviewed by Tim Nguyen. Add CSSPropertyCursor to the list of ValidMarkerStyleProperties because the CSS Working Group agreed that "cursor property applies to ::marker pseudo" w3c/csswg-drafts#6203 (comment) * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/marker-hit-testing-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-pseudo/parsing/marker-supported-properties-in-animation-expected.txt: * Source/WebCore/style/PropertyAllowlist.cpp: (WebCore::Style::isValidMarkerStyleProperty): Canonical link: https://commits.webkit.org/282642@main
The specification needs to be updated. https://drafts.csswg.org/css-lists-3/#marker-properties |
The spec for the properties which apply to
::marker
s does not include thecursor
property. I'd like to be able to apply this to the::marker
of asummary
element in particular, to give user feedback that clicking on it will do something (that is, open/close thedetails
).You can add
cursor
to the wholesummary
, but that also applies it to the actual content of the summary, and the blank space after the content, with no easy way to remove it there. Demo:The text was updated successfully, but these errors were encountered: