[Webkit-unassigned] [Bug 164222] list-item-position is inside for unstyled list items

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 21 11:12:39 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=164222

--- Comment #8 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Oriol Brufau from comment #7)
> (In reply to Ahmad Saleem from comment #4)
> > it will break websites and there is no data from HTTPArchive
> 
> I added a counter in Blink:
> https://chromestatus.com/metrics/feature/timeline/popularity/5000
> ~0.78% of page loads get this quirk of forcing outside markers to be inside.

Nice! Is it this quirk?

https://searchfox.org/mozilla-central/rev/ec342a3d481d9ac3324d1041e05eefa6b61392d2/layout/style/res/quirk.css#8

/* Quirk: make orphaned LIs have inside bullet (b=1049) */

/* force inside position for orphaned lis */
li {
  list-style-position: inside;
}

/* restore outside position for lists inside LIs */
li :is(ul, ol, dir, menu) {
  list-style-position: outside;
}

/* undo previous two rules for properly nested lists */
:is(ul, ol, dir, menu) :is(ul, ol, dir, menu, li) {
  list-style-position: unset;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241021/8aa1a789/attachment.htm>


More information about the webkit-unassigned mailing list