tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit bd8d9489a09ba0f0045d33f7b6959b47458f233a
parent 6d205ae1ce1088e4c4cf938fb35bc4b530388917
Author: Minseong Kim <jja08111@gmail.com>
Date:   Fri,  7 Nov 2025 09:02:03 +0000

Bug 1998541 [wpt PR 55875] - [css-lists] Account counter-increment, counter-set properties for non-li, a=testonly

Automatic update from web-platform-tests
[css-lists] Account counter-increment, counter-set properties for non-li

This CL fixes the ordered list marker value by including the
counter-increment and counter-set value on non-<li>. To achieve this,
`ListItemOrdinal` is modified to traverse the tree between from the
previous node to the current node.

`NodeAndOrdinalWithIntermediateSum` structure is added to return
`intermediate_sum` when accounting counter values.

The new behavior is behind a runtime flag, CSSListCounterAccounting.

Bug: 40682542
Change-Id: If58a46cb01b08d362a25e8f99d554b4ca1dfbd9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7043586
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org>
Commit-Queue: Minseong Kim <jja08111@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1540889}

--

wpt-commits: e200ee3346ac9769951276a6f6d4cb41337382ae
wpt-pr: 55875