DescriptionMoved resolverChanged for mq updates into StyleEngine.
The placement of resolverChanged() needs a bit of explanation. We
incorrectly only clear the rulesets of active stylesheets when media
query evaluation changes. That currently causes crbug.com/589083.
Updating the active stylesheets (resolverChanged) before clearing the
ruleset will at least make sure that rule set for @media rules inside
sheets with a media attribute changing evaluation will be cleared
correctly. Moving resolverChanged() would have made the effects of
589083 worse.
BUG=567021
Committed: https://crrev.com/da608f1745bd044fa96b58c3e0c9aa7e53eed3dc
Cr-Commit-Position: refs/heads/master@{#381921}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|