DescriptionEvaluate MediaQueryLists on actual media changes only.
MediaQueryLists were re-evaluated for every styleResolverChanged(). The
evaluation of MediaQueryLists can only change when some media type or
features change. That is signalled through mediaQueryAffectingValueChanged().
Set m_evaluateMediaQueriesOnStyleRecalc there instead.
Since the media queries don't change this is not noticable through layout
or unit testing.
R=esprehn@chromium.org
BUG=382894
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176406
Patch Set 1 #Patch Set 2 : Rebased #Messages
Total messages: 10 (0 generated)
|