W3C home > Mailing lists > Public > public-html@w3.org > April 2010

Re: native elements versus scripted

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Wed, 7 Apr 2010 17:59:50 +1000
Message-ID: <j2g2c0e02831004070059re5bed887ua20b87d28d0fb967@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: Doug Schepers <schepers@w3.org>, HTMLWG WG <public-html@w3.org>
On Wed, Apr 7, 2010 at 4:33 PM, Maciej Stachowiak <mjs@apple.com> wrote:
>
> On Apr 6, 2010, at 11:19 PM, Silvia Pfeiffer wrote:
>
>>
>> I'm curious - would the introduction of pseudo-classes also apply to
>> the video and audio element controls?
>
> That's certainly a possibility. Right now, the solution for custom-looking
> form controls is to fall back completely into JS. However, at least in
> WebKit, the built in media element controls are implemented in the rendering
> engine, so it's definitely possible to offer the ability to style them. That
> would provide an interesting tool for content authors - they could get a
> custom look/branding for video controls without having to reimplement all
> the control logic in JavaScript.

And without having to worry about implementing accessibility in
JavaScript, since the native browser controls already provide for
that.

Cheers,
Silvia.
Received on Wednesday, 7 April 2010 08:00:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:16 UTC