Closed Bug 1729289 Opened 3 years ago Closed 3 years ago

Fix out of order child cascade layer registration.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

No description provided.

This makes layer order use a fixed set of bits per nesting level, to "reserve"
bits for children before they are registered.

See the comment in LayerOrder for the implementation limits it imposes, and
potential alternatives if these limits are not enough (but I think they should
be).

Enable the tests, as they mostly pass now (commit incoming to fix the remaining
ones).

When we had:

@layer A.B;

We were registering "A" and "B", not "A" and "A.B", which was the intention.

Fix is trivial.

Depends on D124620

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c51aff5d9fba
Fix out of order child layer registration, and enable the tests. r=boris
https://hg.mozilla.org/integration/autoland/rev/c11d60ea8989
Fix layer statement with nested layer names. r=boris
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: