W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] Dynamic pseudo-classes on video/audio element to allow styling of controls

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Fri, 22 Apr 2011 20:25:20 -0700
Message-ID: <BANLkTi=T2NPhFnC+qt6-pRp1zqLOXTMDAA@mail.gmail.com>
I wonder if it makes sense to introduce a set of pseudo-classes on the
video/audio elements, each reflecting a state of the media on the
controls (playing/paused/error/etc.)? Then, we could use just CSS to
style media controls (whether native or custom), and not have to
listen to DOM events just to tweak their appearance.

Received on Friday, 22 April 2011 20:25:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:05 UTC