Closed
Bug 1478069
Opened 7 years ago
Closed 7 years ago
A bit of nsCSSFrameConstructor cleanup.
Categories
(Core :: Layout, enhancement)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
This is part of the cleanup I want to do before doing bug 1476281.
Assignee | ||
Updated•7 years ago
|
Summary: Use more references in nsCSSFrameConstructor. → A bit of nsCSSFrameConstructor cleanup.
Assignee | ||
Comment 1•7 years ago
|
||
Using references helps to see when stuff can and cannot be null.
I removed useless aTag / aNamespaceId arguments which are useless now that XBL
can't override them (bug 1450617), so FindXULData is the only one that keeps
them alive.
Also, I took the liberty of renaming a few fooComputedStyle variables to just
fooStyle, and clarify naming in some pseudo-element-related functions to say
originating element (the spec term) and avoid confusing it with the generated
_moz_generated_content_before / _moz_generated_content_after element.
Note that this is a partial state, more stuff will come in the future.
Assignee | ||
Comment 2•7 years ago
|
||
It's not needed anymore, since we tag the pseudo-elements at creation time for
styling.
Assignee | ||
Comment 3•7 years ago
|
||
It's the same, and avoids a bit of duplication.
Assignee | ||
Comment 4•7 years ago
|
||
We verify the flattened tree is correct in VerifyFlatTree (in RestyleManager),
plus the post-condition still holds of course.
Comment 5•7 years ago
|
||
Comment on attachment 8994572 [details]
Trivial frame constructor cleanup.
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2326
Attachment #8994572 -
Flags: review+
Comment 6•7 years ago
|
||
Comment on attachment 8994605 [details]
Bug 1478069: Use AddFrameConstructionItems for display: contents.
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2329
Attachment #8994605 -
Flags: review+
Comment 7•7 years ago
|
||
Comment on attachment 8994607 [details]
Bug 1478069: Remove useless ping-pong between flattened and light child.
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2331
Attachment #8994607 -
Flags: review+
Comment 8•7 years ago
|
||
Comment on attachment 8994601 [details]
Bug 1478069: Remove ContentInfo::mChildren.
Boris Zbarsky [:bz] (no decent commit message means r-) has approved the revision.
https://phabricator.services.mozilla.com/D2330
Attachment #8994601 -
Flags: review+
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/mozilla-inbound/rev/94f84afc3c6d
Trivial frame constructor cleanup. r=TYLin
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c73ab776d8b
Remove useless ping-pong between flattened and light child. r=TYLin
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ef482c2a889
Use AddFrameConstructionItems for display: contents. r=TYLin
https://hg.mozilla.org/integration/mozilla-inbound/rev/717970e42f16
Remove ContentInfo::mChildren. r=bz
![]() |
||
Comment 10•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/94f84afc3c6d
https://hg.mozilla.org/mozilla-central/rev/3c73ab776d8b
https://hg.mozilla.org/mozilla-central/rev/5ef482c2a889
https://hg.mozilla.org/mozilla-central/rev/717970e42f16
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•