[wpt-sync] Sync PR 36351 - Prevent ::backdrop from being a list item
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36351 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36351
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
Prevent ::backdrop from being a list item
The ::backdrop pseudo-element is kind of special because, despite not
being tree-abiding, accepts arbitrary styles like 'display: list-item'.
This is a problem because list items have a ListItemOrdinal, which needs
to traverse the tree.So this patch prevents ::backdrop from becoming a list item.
This avoids some DCHECK failures in debug builds, but I believe it will
have no observable effect in release builds since ::backdrop was already
not allowed to originate a nested ::marker.Bug: 1371331
TEST=external/wpt/fullscreen/crashtests/backdrop-list-item.html
Change-Id: I984bac3f81eb51f42bcdbd51e3cb9498d954f374
Reviewed-on: https://chromium-review.googlesource.com/3933059
WPT-Export-Revision: 06cbc1fd964ccf4b295af9443cb6119c4c33ebbe
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Comment 5•3 years ago
|
||
| bugherder | ||
Description
•