Description[CSS Grid Layout] Redefining grids inside media queries does not work
So the problem is that in
StyleBuilderFunctions::applyValueCSSPropertyGridTemplateAreas we were assuming
that we were always getting a fresh RenderStyle, something that is not true,
because we might have overlapping declarations (multipled matching media
queries, user styles, etc).
As that function might be called multiple times, we need to properly regenerate
the list of named grid lines each time the function is called because the
NamedGridLinesMap returned by RenderStyle contains both the old explicit named
grid lines and the old implicit named grid lines.
BUG=427481
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185045
Patch Set 1 #
Total comments: 1
Messages
Total messages: 10 (3 generated)
|