DescriptionEnsure fullscreen.css loaded for ancestor invalidation
Using invalidation sets caused regression crbug.com/596803 because we
only ensured the fullscreen.css had features available for style
resolving in the fullscreened element's document. This CL ensures the
features are up-to-date for all fullscreen related pseudoStateChanged.
I was not able to reproduce the problem in 596803, but 448721 also
regressed and I've confirmed this CL fixes that regression.
The added layout test does not fail without this fix because the
full screen implementation in content_shell is different and
setMediaType() for fullscreen on resize causes a full recalc of
everything in content_shell before we try to apply fullscreen style
changes. However, if mediaQueryAffectingValueChanged was smarter when
changing media type to fullscreen. That test would have failed.
BUG=596803
Committed: https://crrev.com/7a71fcc137ef2e4a78c93ecb15e1623ca9b3eb65
Cr-Commit-Position: refs/heads/master@{#383711}
Patch Set 1 #Patch Set 2 : Ensure fullscreen.css loaded for all fullscreen pseudoStateChanged #
Total comments: 2
Patch Set 3 : Re-ordered iframe and script in test #
Messages
Total messages: 24 (11 generated)
|