It seems WebKit and Blink only partially implement the lists section of the HTML spec, see https://html.spec.whatwg.org/#lists * https://searchfox.org/wubkat/rev/b6cbf096c512d8334fe4151843acab55272492ae/Source/WebCore/css/html.css#364 * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css;l=364;drc=04a73d3d930f7d80d7eb7c38977798b2a93eccec Which means that test-cases like https://bug1817950.bmoattachments.org/attachment.cgi?id=9320609 render differently in Firefox. The spec is rather clear.
<rdar://problem/106438732>
PR (in Draft - would need input from Tim on few bits) - https://github.com/WebKit/WebKit/pull/13843
Committed 264052@main (5febb62e57ba): <https://commits.webkit.org/264052@main> Reviewed commits have been landed. Closing PR #13843 and removing active labels.