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

Issue 2863603002: Change Monochrome media query evaluator (Closed)

Created:
3 years, 7 months ago by ccameron
Modified:
3 years, 7 months ago
Reviewers:
esprehn, rune
CC:
chromium-reviews, kenneth.christiansen, Yoav Weiss, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change Monochrome media query evaluator Change this to match ColorMediaFeatureEval's behavior. Previously, this was incorrectly comparing the monochrome feature against color bit depth. BUG=645697 Review-Url: https://codereview.chromium.org/2863603002 Cr-Commit-Position: refs/heads/master@{#469478} Committed: https://chromium.googlesource.com/chromium/src/+/c9ef836bccf4a19fde92b42f6d68e8895f0a1a49

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp View 1 chunk +6 lines, -9 lines 1 comment Download
M third_party/WebKit/Source/core/css/MediaQueryEvaluatorTest.cpp View 1 3 chunks +34 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
ccameron
I have absolutely no idea what this code does, but it fixes https://jsfiddle.net/sytuqzdw/1/ Maybe it ...
3 years, 7 months ago (2017-05-04 12:01:23 UTC) #4
rune
You need to add some tests.
3 years, 7 months ago (2017-05-04 12:27:12 UTC) #6
ccameron
Added a test
3 years, 7 months ago (2017-05-04 14:24:48 UTC) #9
rune
lgtm https://codereview.chromium.org/2863603002/diff/20001/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp File third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp (right): https://codereview.chromium.org/2863603002/diff/20001/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp#newcode238 third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp:238: float number; Nit: I think I'd put this ...
3 years, 7 months ago (2017-05-04 20:52:37 UTC) #14
rune
On 2017/05/04 20:52:37, rune wrote: > lgtm > > https://codereview.chromium.org/2863603002/diff/20001/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp > File third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp (right): > ...
3 years, 7 months ago (2017-05-04 20:55:39 UTC) #15
ccameron
Thanks!
3 years, 7 months ago (2017-05-04 21:17:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2863603002/20001
3 years, 7 months ago (2017-05-04 21:18:46 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 21:27:00 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c9ef836bccf4a19fde92b42f6d68...

Powered by Google App Engine
This is Rietveld 408576698