Re: Do not remove the media attribute from the source element

For info., I ran some quick tests to see what browsers currently support
the media attribute as part of <source>:
Latest versions of: Firefox, Chrome, Opera, Safari (5.1 on Windows and 6,
6.1 and 7 on Mac).
IE9, IE10, and IE11.
Default browsers on all iPad and iPhone variants.
Default browsers on Android: SIII, Tab 2, Note II, and Nexus.

As a side note, I also noticed that the popular caniuse.com website makes
no mention of the 'media' attribute at all, which wouldn't have helped with
people knowing about its existence.


======================================
Ian Devlin
iandevlin.com <http://www.iandevlin.com>
@iandevlin <http://www.twitter.com/iandevlin>
skype: idevlin
======================================


On 12 February 2014 08:01, Philip Jägenstedt <philipj@opera.com> wrote:

> On Tue, Feb 11, 2014 at 8:06 PM, Ian Devlin <ian@iandevlin.com> wrote:
> > Back in October 2012 a bug was submitted to remove the media attribute
> from
> > <source> "if it isn't used":
> > https://www.w3.org/Bugs/Public/show_bug.cgi?id=19619.
> >
> > Unfortunately this has now been adopted, and Hixie has removed it
> > (https://www.w3.org/Bugs/Public/show_bug.cgi?id=19619#c34) from the
> WHATWG
> > specification (saying "no-one uses it" and calling it "essentially
> useless")
> > and Philip Jägenstadt has marked it for removal from Blink
>
> It's actually already been removed from Blink, with only the
> HTMLSourceElement.media IDL attribute remaining until we have use
> counter data supporting removal for that as well.
>
> Philip
>

Received on Wednesday, 12 February 2014 08:04:53 UTC