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

Issue 451113002: Updated hover media feature to comply updated media queries spec (Closed)

Created:
6 years, 4 months ago by bokan
Modified:
6 years, 4 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, kenneth.christiansen, rwlbuis, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Updated hover media feature to comply updated media queries spec The spec (http://dev.w3.org/csswg/mediaqueries-4/#hover) for the hover media query has added keywords for the feature's value. This CL updates the media query keywords to propertly parse and evaluate the feature; however, it remains only sparsely implemented. The hover (and pointer) media queries currently only produce non-false output for touchscreen devices. The plumbing work to actually produce the correct results in all cases will be done in a future CL. BUG=136119 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180006

Patch Set 1 #

Patch Set 2 : Fixed up MediaQueryEvaluatorTest.cpp #

Patch Set 3 : Change behind RuntimeEnabledFeature status=stable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -17 lines) Patch
M LayoutTests/fast/media/mq-pointer.html View 1 chunk +3 lines, -2 lines 0 comments Download
M LayoutTests/fast/media/mq-pointer-expected.txt View 2 chunks +7 lines, -5 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/css/MediaQueryEvaluator.cpp View 1 2 2 chunks +21 lines, -7 lines 0 comments Download
M Source/core/css/MediaQueryEvaluatorTest.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/css/MediaQueryExp.cpp View 1 2 4 chunks +6 lines, -1 line 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
bokan
Hi Adam, PTAL when you have a chance. This is a web facing change but ...
6 years, 4 months ago (2014-08-08 20:42:16 UTC) #1
abarth-chromium
I'm probably not the best reviewer for this CL... Maybe yoav would be able to ...
6 years, 4 months ago (2014-08-08 21:41:20 UTC) #2
Yoav Weiss
On 2014/08/08 20:42:16, bokan wrote: > Hi Adam, PTAL when you have a chance. > ...
6 years, 4 months ago (2014-08-08 22:01:16 UTC) #3
bokan
On 2014/08/08 22:01:16, Yoav Weiss wrote: > Are you sure it's not working in Safari ...
6 years, 4 months ago (2014-08-08 22:30:23 UTC) #4
bokan
Yoav, see discussion at https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/gVAJjaNzDNM I've put the change behind a RuntimeEnabledFeature so it can ...
6 years, 4 months ago (2014-08-11 18:05:59 UTC) #5
Yoav Weiss
On 2014/08/11 18:05:59, bokan wrote: > Yoav, see discussion at > https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/gVAJjaNzDNM > > I've ...
6 years, 4 months ago (2014-08-11 18:40:45 UTC) #6
bokan
On 2014/08/11 18:40:45, Yoav Weiss wrote: > On 2014/08/11 18:05:59, bokan wrote: > > Yoav, ...
6 years, 4 months ago (2014-08-11 18:58:33 UTC) #7
abarth-chromium
Source/platform/RuntimeEnabledFeatures.in LGTM
6 years, 4 months ago (2014-08-11 22:25:48 UTC) #8
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 4 months ago (2014-08-11 22:26:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/451113002/40001
6 years, 4 months ago (2014-08-11 22:27:16 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 23:27:15 UTC) #11
Message was sent while issue was closed.
Change committed as 180006

Powered by Google App Engine
This is Rietveld 408576698