Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Issue 322043008: Evaluate MediaQueryLists on actual media changes only. (Closed)

Created:
6 years, 6 months ago by rune
Modified:
6 years, 6 months ago
Reviewers:
esprehn
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Evaluate 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M Source/core/dom/Document.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rune
6 years, 6 months ago (2014-06-10 12:17:28 UTC) #1
rune
PTAL
6 years, 6 months ago (2014-06-12 13:15:02 UTC) #2
rune
6 years, 6 months ago (2014-06-17 20:03:41 UTC) #3
esprehn
lgtm
6 years, 6 months ago (2014-06-18 06:16:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/322043008/1
6 years, 6 months ago (2014-06-18 06:16:51 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 06:17:14 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/Document.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-18 06:17:15 UTC) #7
rune
The CQ bit was checked by rune@opera.com
6 years, 6 months ago (2014-06-18 07:41:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/322043008/20001
6 years, 6 months ago (2014-06-18 07:42:52 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 09:48:41 UTC) #10
Message was sent while issue was closed.
Change committed as 176406

Powered by Google App Engine
This is Rietveld 408576698