Closed Bug 1980143 Opened 21 days ago Closed 20 days ago

Prevent generating backdrop pseudos for non-elements.

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Points:
1

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [viewtransitions:m2])

Attachments

(1 file)

No description provided.

Bug 1954142 causes some crashes in view transition pseudo-elements.

These happen because we create the ::-moz-snapshot-containing-block
pseudo-element in the top layer, then try to create a ::backdrop for it.

With the patches for that bug, such a
::-moz-snapshot-containing-block::backdrop pseudo-element wouldn't match
regular ::backdrop rules (that's per spec), causing backdrop frame to
not be in the top layer itself.

We don't need to generate backdrop frames for view transitions, and we
don't put other pseudo-elements in the top layer, so this doesn't change
behavior, but fixes the crashes that prevent bug 1954142 from landing.

Status: NEW → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Points: --- → 1
Whiteboard: [viewtransitions:m2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: