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

Issue 13896036: [CSSMQ] Implemented support for the scan media feature. (Closed)

Created:
7 years, 7 months ago by rune
Modified:
7 years, 7 months ago
Reviewers:
apavlov
CC:
blink-reviews, apavlov+blink_chromium.org, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSSMQ] Implemented support for the scan media feature. The scan media feature is only supported for "tv" as per spec. It is currently not possible to query if a tv is progressive or interlaced. Progressive is assumed for now. Also, for media features that take ident values, only accept idents which are allowed for a given feature. BUG=236321 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150487

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebased onto newer master #

Patch Set 3 : Fixed review issues. #

Total comments: 1

Patch Set 4 : Fixed issue in Patch Set 3 #

Patch Set 5 : Retrying #

Patch Set 6 : another static_cast removed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -11 lines) Patch
A LayoutTests/fast/media/mq-scan-01.html View 1 chunk +31 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-scan-01-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-scan-02.html View 1 chunk +34 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-scan-02-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-unknown-ident-values.html View 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/media/mq-unknown-ident-values-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/css/MediaFeatureNames.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/MediaQueryEvaluator.cpp View 1 2 3 2 chunks +19 lines, -8 lines 0 comments Download
M Source/core/css/MediaQueryExp.cpp View 1 2 3 4 5 4 chunks +37 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rune
7 years, 7 months ago (2013-05-14 11:26:21 UTC) #1
kenneth.r.christiansen
lgtm
7 years, 7 months ago (2013-05-15 10:59:03 UTC) #2
apavlov
LGTM with minor nits https://chromiumcodereview.appspot.com/13896036/diff/1/Source/core/css/MediaQueryEvaluator.cpp File Source/core/css/MediaQueryEvaluator.cpp (right): https://chromiumcodereview.appspot.com/13896036/diff/1/Source/core/css/MediaQueryEvaluator.cpp#newcode748 Source/core/css/MediaQueryEvaluator.cpp:748: // scan only applies to ...
7 years, 7 months ago (2013-05-15 11:29:41 UTC) #3
rune
On 2013/05/15 11:29:41, apavlov wrote: > LGTM with minor nits > > https://chromiumcodereview.appspot.com/13896036/diff/1/Source/core/css/MediaQueryEvaluator.cpp > File ...
7 years, 7 months ago (2013-05-15 12:33:44 UTC) #4
apavlov
https://chromiumcodereview.appspot.com/13896036/diff/7001/Source/core/css/MediaQueryExp.cpp File Source/core/css/MediaQueryExp.cpp (right): https://chromiumcodereview.appspot.com/13896036/diff/7001/Source/core/css/MediaQueryExp.cpp#newcode212 Source/core/css/MediaQueryExp.cpp:212: if (!featureWithValidIdent(mediaFeature, static_cast<CSSPrimitiveValue*>(m_value.get())->getIdent())) Argh, sorry, I totally forgot that ...
7 years, 7 months ago (2013-05-15 12:38:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/13896036/10003
7 years, 7 months ago (2013-05-15 13:00:39 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=8033
7 years, 7 months ago (2013-05-15 14:43:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/13896036/10003
7 years, 7 months ago (2013-05-16 05:52:10 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-16 06:10:58 UTC) #9
Message was sent while issue was closed.
Change committed as 150487

Powered by Google App Engine
This is Rietveld 408576698