Skip to content

[css-lists] generating ::marker boxes should define value of content property #2001

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
gsnedders opened this issue Nov 21, 2017 · 7 comments
Closed
Labels
css-lists-3 Current Work

Comments

@gsnedders
Copy link
Member

Currently https://drafts.csswg.org/css-lists/#content-property just says things like "The contents of the ::marker…", rather than something more precise like "The initial value of the content property of the ::marker…".

It's implied in the above examples that you can set the content property and have that override the default (and hence presumably the initial)?

@gsnedders gsnedders added the css-lists-3 Current Work label Nov 21, 2017
@Loirooriol
Copy link
Contributor

The problem is that the examples assume that various properties apply to ::marker, but CSS Pseudo says otherwise. See #1807

@frivoal
Copy link
Collaborator

frivoal commented Dec 14, 2017

@gsnedders Well, rather than "the intial value of the content property in ::marker is FOO", which would be a bit weird since properties are not supposed to have different initial values based on context, we could say something like "The 'normal' value of the content property computes to FOO"

@MatsPalmgren
Copy link

FYI, I've filed #3499 to include content as a supported property for ::marker.

@fantasai
Copy link
Collaborator

fantasai commented Apr 5, 2019

I believe this is now fixed. https://drafts.csswg.org/css-lists-3/#markers @gsnedders Would you mind verifying?

@gsnedders
Copy link
Member Author

Do we really want "The contents of the ::marker" and "The ::marker contains" rather than "The marker box contains", given it isn't really the pseudo element that has the content? Also I'd rather always go with "contains" instead of it containing while talking about the content property.

@fantasai
Copy link
Collaborator

@gsnedders Thanks, fixed!

@fantasai
Copy link
Collaborator

@gsnedders Lmk if it looks OK now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-lists-3 Current Work
Projects
None yet
Development

No branches or pull requests

5 participants