[webkit-dev] Adding new CSS (pointer) and (hover) media features to WebCore

Rick Byers rbyers at chromium.org
Tue May 29 18:48:21 PDT 2012


Hi Webkit-dev,
I just wanted to let you know that I'm about to add initial support (
https://bugs.webkit.org/show_bug.cgi?id=87403) for two new minor CSS media
query features:
http://dev.w3.org/csswg/css4-mediaqueries/#pointer
http://dev.w3.org/csswg/css4-mediaqueries/#hover

Ports can opt into this support by providing information about the pointer
devices available, currently just via Settings:: setDeviceSupportsTouch
(currently used only by Chromium).  I plan to add a similar simple
mechanism for mouse in a later CL (
https://bugs.webkit.org/show_bug.cgi?id=87806).

Ports that don't opt in will continue to behave exactly the same as they do
today - as if the media feature wasn't supported at all.  Please let me
know if you have any questions or concerns.

Thank you!
   Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120529/4081bc2b/attachment.html>


More information about the webkit-dev mailing list