Skip to content

[css-lists] Examples use properties not allowed in ::marker #1807

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
Loirooriol opened this issue Sep 12, 2017 · 6 comments
Closed

[css-lists] Examples use properties not allowed in ::marker #1807

Loirooriol opened this issue Sep 12, 2017 · 6 comments

Comments

@Loirooriol
Copy link
Contributor

According to CSS Lists,

Only a limited set of properties can be used on the ::marker pseudo-element. This list is defined in CSS Pseudo-Elements 4 §4.2 List Markers: the ::marker pseudo-element.

CSS Pseudo says that only font properties, color and text-combine-upright apply to ::marker.

However, in CSS Lists, various of examples use properties like content, text-align, width, display, unicode-bidi, position.

@fantasai fantasai added the css-lists-3 Current Work label Sep 14, 2017
@SelenIT
Copy link
Collaborator

SelenIT commented Oct 24, 2017

The CSS Pseudo spec has the following note:

It is expected that future specifications will extend this list of properties; however at the moment marker box layout is not fully defined, so only these properties are allowed.

Since the CSS Lists spec seems significantly less mature than CSS Pseudo spec, maybe it's expected that at the time CSS Lists spec is released all the open issues with marker box layout definition will be resolved and this limitation becomes outdated?

@gsnedders
Copy link
Member

@SelenIT I believe that is the case. (i.e., you should consider List a future specification wrt Pseudo)

@Loirooriol
Copy link
Contributor Author

If some properties can't be added to CSS Pseudo until CSS Lists is more mature, then I think these extra properties should be listed in CSS Lists meanwhile.

@fantasai
Copy link
Collaborator

fantasai commented Apr 5, 2019

OK, I've fixed most of these except what's in the default UA rules. We'll need to figure those out a bit more, so filed #3809

@fantasai
Copy link
Collaborator

fantasai commented Apr 5, 2019

(We dropped the section on marker positioning, so cutting down css-lists-3 to match what's in css-pseudo-4 and css2.1, more or less.)

@fantasai
Copy link
Collaborator

And fixed by adding #3809 and aligning with the list in css-pseudo-4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants