[wpt-sync] Sync PR 18915 - CSS: counter-reset/increment inherit clears old values
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 18915 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/18915
Details from upstream follow.
Eric Willigers <ericwilligers@chromium.org> wrote:
CSS: counter-reset/increment inherit clears old values
When we update 'counter-increment' or 'counter-reset' to 'inherit',
we now overwrite the previously resolved values, instead of
merging in the parent values.Existing Blink fails test with
FAIL Inheritance of counter-reset replaces existing value assert_equals: expected "first 1" but got "first 1 fourth 4"
FAIL Inheritance of counter-increment replaces existing value assert_equals: expected "second 2" but got "second 2 fifth 5"Existing Safari fails test with
FAIL Inheritance of counter-reset replaces existing value assert_equals: expected "second 0 first 1" but got "second 0 fifth 0 first 1"
FAIL Inheritance of counter-increment replaces existing value assert_equals: expected "second 2 first 0" but got "second 2 fourth 0 first 0"Bug: 1001776
Change-Id: Ic7279a84f022f0bc156bdab1a044b3403cb2c7ab
Reviewed-on: https://chromium-review.googlesource.com/1789213
WPT-Export-Revision: 1eed2f055a355c0f5a5a412f9f9231707da9a457
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Comment 7•7 years ago
|
||
| bugherder | ||
Description
•