Refactor how we schedule and suppress rendering phases
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Regressed 1 open bug)
Details
(Whiteboard: [viewtransitions:m1])
Attachments
(2 files)
| Assignee | ||
Comment 1•1 year ago
|
||
This starts some of the needed refactoring towards having proper
rendering suppression, and in general aligning better with the HTML
spec's "update the rendering" section.
Behavior changes should be minimal:
-
We suppress rendering until the pres shell is initialized rather than
just created. This matches how autofocus already works and in general
we don't want to forcibly flush an uninitialized presshell. -
We handle view transition suppression more correctly in some (but not
all) phases. -
Some of the steps do no longer recurse manually nor check the view
transitions suppression, as that's done centrally. -
mAutoFocusFlushDocuments isn't tracked separately.
Follow-up work will involve changing most of the "pending resize/scroll/etc"
events to be per-document as per spec, and also implement suppression for
painting.
| Assignee | ||
Comment 2•1 year ago
|
||
No behavior change as these all map to an existing RenderingPhase.
| Assignee | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0b9e529a5541
https://hg.mozilla.org/mozilla-central/rev/9dd7749b7f73
Updated•1 year ago
|
Updated•1 year ago
|
Description
•