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

<li> in quirks mode should sometimes have list-style-position:inside #549

Open
zcorpan opened this issue Jan 21, 2016 · 1 comment
Open
Assignees
Labels
compat Standard is not web compatible or proprietary feature needs standardizing topic: rendering

Comments

@zcorpan
Copy link
Member

zcorpan commented Jan 21, 2016

https://html.spec.whatwg.org/multipage/rendering.html#lists

li { display:​ list-item; }

See http://mxr.mozilla.org/mozilla-central/source/layout/style/quirk.css#8

The rendering in Chrome for <li>x appears the same as in Gecko, but getComputedStyle claims outside in Chrome; not sure how it's implemented there, but it is different from <div style=display:list-item>...

@zcorpan zcorpan added the compat Standard is not web compatible or proprietary feature needs standardizing label Jan 21, 2016
@zcorpan zcorpan self-assigned this Jan 21, 2016
@zcorpan
Copy link
Member Author

zcorpan commented Jul 4, 2016

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4297
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4298

In WebKit and Chromium the bullet is inline in all rendering modes. I suppose the code is somewhere around https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/LayoutListItem.cpp?sq=package:chromium&dr=C though I don't yet follow what actually happens.

IE11 seems to be closer to Gecko than WebKit/Chromium (IE renders differently between quirks mode and no-quirks mode). What does Edge do?

Should we adopt Gecko's style from quirk.css?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat Standard is not web compatible or proprietary feature needs standardizing topic: rendering
Development

No branches or pull requests

1 participant