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.

:DG<
Received on Friday, 22 April 2011 20:25:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT