[webkit-dev] New web-facing CSS feature: -webkit-cursor-visibility: auto-hide
Ryosuke Niwa
rniwa at webkit.org
Mon Mar 4 16:46:06 PST 2013
On Mon, Mar 4, 2013 at 4:37 PM, Jer Noble <jer.noble at apple.com> wrote:
> In an effort to improve the user-experience of watching videos in full
> screen mode, I have created a patch which adds a new CSS style attribute:
> -webkit-cursor-visibility. When set to "auto-hide", this rule would change
> the cursor type to "none" after a few seconds of inactivity. UAs could then
> add this rule to their UA full screen style sheets for full screened video
> elements, but this rule can be overridden by site authors to handle hiding
> the cursor (or not) themselves. Sites which do not hide the cursor during
> playback in full screen mode (e.g. YouTube) would get this behavior for
> free, and sites which do (e.g. vimeo) can continue to explicitly hide the
> mouse cursor when hiding their custom controls.
>
> This new attribute is not currently hidden behind a feature flag.
>
Could you add either build or runtime flag?
- R. Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130304/def41dc5/attachment.html>
More information about the webkit-dev
mailing list