HomePhabricator

Fix possibly broken reference list counters in Firefox

Description

Fix possibly broken reference list counters in Firefox

This patch applies a few closely related changes:

  1. Instead of reusing and possibly messing with the existing

"mw-ref-linkback" counter, I start a new one.

  1. I also gave both new counters better names, following the

"mw-ref-…" naming scheme.

  1. We must reset the build-in "list-item" counter to make this code

behave sane in Firefox. It looks like this is even described in the
CSS spec and it is not Firefox having a bug, but Chrome being "clever"
and not following the spec.

Bug: T239787
Change-Id: Ib6e9de689129b7c2d50e3a1c720c0d2d5a0c0986

Details

Provenance
thiemowmdeAuthored on Dec 4 2019, 11:02 AM
Parents
rECIT22bc49ce8bb9: Merge "Replace reference parameter with return value"
Branches
Unknown
Tags
Unknown
ChangeId
Ib6e9de689129b7c2d50e3a1c720c0d2d5a0c0986