Skip to content
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] List items without ul/ol and quirks? #2446

Open
kojiishi opened this issue Mar 16, 2018 · 4 comments
Open

[css-lists] List items without ul/ol and quirks? #2446

kojiishi opened this issue Mar 16, 2018 · 4 comments
Labels
css-lists-3 Current Work

Comments

@kojiishi
Copy link
Contributor

Recently bug 811172 was filed to Chrome about this.

I learned that in this case:

Browsers Behavior
Gecko (quirks), Edge (quirks), WebKit, Blink The list markers appear as if inside.
Gecko, Edge The list markers honor the list-style-position property.

I haven't found if this case was defined, but two questions:

  1. Do we want to match to Gecko/Edge behavior?
  2. Do we want to keep the quirks behavior?

/cc @FremyCompany @cathiechen @litherum @dbaron @upsuper

@FremyCompany
Copy link
Contributor

FremyCompany commented Mar 16, 2018

Our (quirks) behavior is intentional. I don't recall seeing an issue about it. I guess if an issue has been filed against you to match us, it's reasonable to match us in this scenario.

@FremyCompany
Copy link
Contributor

FremyCompany commented Mar 16, 2018

Our (quirks) behavior is also documented here:
https://msdn.microsoft.com/en-us/library/gg558047(v=vs.85).aspx

List item markers. The default value of list-style-position is "inside" if the list-item is outside a <UL> or <OL> element, and "outside" otherwise.

@FremyCompany
Copy link
Contributor

Also, I think the behavior in Chrome will need to be updated anyway because you can't even force "outside" on such a list item with a "list-style-position: outside !important" rule :-(
https://wptest.center/#/44k0u6

I'm fairly sure that this is a violation of the spec.

@frivoal frivoal added the css-lists-3 Current Work label Mar 23, 2018
@cathiechen
Copy link

I personally think keep it outside is better.

  1. Outside is the default value, and the computed style displayed by inspector is also outside. Changing to inside, make it confusing.
  2. The cost is smaller to make an outside single LI inside than the contrary.

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

4 participants