Closed
Bug 1190254
Opened 8 years ago
Closed 8 years ago
use same conditions to call ReparentStyleContext in RestyleUndisplayedNodes as in RestyleSelf
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
References
Details
Attachments
(1 file)
2.49 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
We're currently using slightly different conditions to check whether it's safe to call ReparentStyleContext in RestyleUndisplayedNodes compared to RestyleSelf. I think we can use the same conditions (i.e., ignoring the eRestyle_Force and eRestyle_ForceDescendants bits (and after bug 1180118, the eRestyle_SomeDescendants bit)).
Assignee | ||
Comment 1•8 years ago
|
||
Are you comfortable reviewing this Mats? Picking you since you've messed around with undisplayed content (for the display:contents work) and this change is in RestyleUndisplayedContent. Note that it relies on the bug 1180118 patches that just landed on inbound. As far as I know, there's no reason we should be looking at different conditions than RestyleSelf does to determine whether it's safe to call ReparentStyleContext.
Assignee | ||
Comment 2•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ea16f96a9a5
Comment 3•8 years ago
|
||
Comment on attachment 8642892 [details] [diff] [review] patch Yeah, I think this should use the same condition as RestyleSelf.
Attachment #8642892 -
Flags: review?(mats) → review+
Comment 5•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0c95a8b88ecd
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•