Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
feels like a
woops, bad ui, sorry
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
[carousel] Allow inline-level scroll markers.
We used to unconditionally blockify all scroll markers, due to
implementation limitations. But we should only blockify them if the real
layout parent requires it (e.g. if the scroll marker group is a flex or
grid container).
To fix this, wrap inline-level scroll markers inside an anonymous block,
since our child fragment mutation code cannot handle inline-level
children.
We already had such an anonymous block wrapper mechanism in place, since
it's also needed by multicol. Tidy up the code a little bit. There was
an AllowsInlineChildren() which didn't really do exactly what it
suggested (it would disqualify anonymous blocks because that was fine at
the sole call site). Also no need to check for IsLayoutNGObject().
That's legacy layout cleanup residue.
Update the expectations of three existing tests, since they depended on
incorrect blockification.
There are existing tests that have scroll marker groups as flex
containers, which still get their scroll markers blockified, as they
should. One such test is
wpt_internal/css/css-overflow/scroll-marker-002.html
There's one remaining thing to fix here: AdjustStyleForDisplay() is
still invoked during style calculation of scroll markers, but at that
point it will use the originating element as the layout parent, which
might lead to unwanted blockification (e.g. if the originating element
has display:flex, but the scroll marker group is a regular block
container). Will fix this in a follow-up.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |