Re: [csswg-drafts] [css-lists] Are outside markers out-of-flow? (#4574)

> Chrome (both legacy and LayoutNG) never underlines `list-style-type:disc` etc.

That's because symbol markers are painted specially, it's not actual text (e.g. you still see a disc with `font-family: Ahem`, and `text-shadow` has no effect).

> It also handles `<li>` without a parent `<ol>/<ul>` differently

That's because in that case there's a quirk that forces the marker to be inside.

> It literally goes through the same box construction, layout and rendering paths as ::before/::after

Not in Chromium, it has special layout classes for markers. 5 classes, and adding inline-block inside markers would require 2 extra classes, or maybe refactor them as a mixin or something. Also, if we allow `display`, it's not clear how things like `grid`, `table`, `ruby`, etc. would behave with outside markers.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4574#issuecomment-792243186 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 7 March 2021 09:10:25 UTC