[css-grid][css-flexbox] ApplyStyleFixups is too eager to blockify display:flex/grid children
Categories
(Core :: Layout, defect, P4)
Tracking
()
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
Details
Comment 1•10 years ago
|
||
| Reporter | ||
Updated•9 years ago
|
Comment 2•6 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #1)
The tools we currently use this for are...
(1) the RAII AutoParentDisplayBasedStyleFixupSkipper class (used in
nsCSSFrameConstructor)
(2) nsStyleSet::eSkipParentDisplayBasedStyleFixup.
Looks like neither of these tools exist anymore (nor does nsStyleContext). Not sure how specifically this works in today's Stylo world, but it seems to be working out OK. Is there more that we need to do here?
| Reporter | ||
Comment 3•6 years ago
|
||
I think this is probably OK now. We still have something similar:
https://searchfox.org/mozilla-central/source/servo/components/style/style_adjuster.rs#199-202
where skip_item_display_fixup() is true for anon frames:
https://searchfox.org/mozilla-central/source/servo/components/style/gecko/wrapper.rs#1519
which should skip form control interior in general.
Description
•