[wpt-sync] Sync PR 42974 - Properly adjust StyleScope information when moving rules to diff rulesets.
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42974 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42974
Details from upstream follow.
Steinar H. Gunderson <sesse@chromium.org> wrote:
Properly adjust StyleScope information when moving rules to diff rulesets.
When copying RuleData from a normal ruleset to a diff ruleset,
we would not adjust their position; this would give an entirely
wrong position, which would then crash as we tried finding the
appropriate StyleScope to test against.Properly adjust the position through a helper (expanding on
the one we used for Bloom filter hashes), and add the StyleScope
to the proper intervals.Fixed: 1499277
Change-Id: I6d99809ac137d644cec8dc2d4f3ccf863c32ef0e
Reviewed-on: https://chromium-review.googlesource.com/5001880
WPT-Export-Revision: 47ecf4a04931a19589c0ce079598c0a32156016e
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
Comment 7•2 years ago
|
||
| bugherder | ||
Description
•