This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25585 - <img> Remove this section and the "Adaptive images" section and pull in https://raw.githubusercontent.com/ResponsiveImagesCG/picture-element/gh-pages/source
Summary: <img> Remove this section and the "Adaptive images" section and pull in https...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-06 21:35 UTC by contributor
Modified: 2014-08-06 15:00 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2014-05-06 21:35:55 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/edits.html
Multipage: http://www.whatwg.org/C#the-img-element
Complete: http://www.whatwg.org/c#the-img-element
Referrer: 

Comment:
<img> Remove this section and the "Adaptive images" section and pull in
https://raw.githubusercontent.com/ResponsiveImagesCG/picture-element/gh-pages/
source

Posted from: 2a00:801:e0:30:6c68:b2bc:f230:3715
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 OPR/21.0.1432.48 (Edition Next)
Comment 1 Ian 'Hixie' Hickson 2014-05-07 21:28:16 UTC
Can you do me a favour and replace the copyright symbol with a (c) symbol? My pipeline isn't UTF-8 safe yet and so I have some early filtering in place that drops everything if it detects a high bit set. (Hopefully my upcoming changes will fix this, but I'm not there yet.)
Comment 2 Ian 'Hixie' Hickson 2014-05-07 21:57:13 UTC
BTW, please take a look at the bugs with <img> in their summary, and take any of them that you're planning on working on. I'll move the others to a far future milestone for now, at which point we can see how much the ongoing <picture> maintenance cost is and figure out next steps.
Comment 3 Simon Pieters 2014-05-08 07:21:26 UTC
http://html5.org/tools/web-apps-tracker?from=8611&to=8612

Still need to remove the "Adaptive images" section.

Fixed (c).

I've taken the bugs that affect the integration. The other bugs are lower priority for me, but I can take them later also.

Should we create a new bugzilla component for <img> and have the spec's bug filer pick that for bugs in that section?
Comment 4 Ian 'Hixie' Hickson 2014-05-08 18:15:44 UTC
I've commented out the Adaptive images section. I'd love to see that exact section unchanged but with the examples switched to the new syntax, though.
Comment 5 Ian 'Hixie' Hickson 2014-07-31 21:16:01 UTC
zcorpan, are you planning on resurrecting that section in the new world?
Comment 7 Ian 'Hixie' Hickson 2014-08-05 18:05:33 UTC
Is that really what authors prefer?! Those are examples are all ten times more verbose and have dozens more possible ways of making mistakes.
Comment 8 Eric Portis 2014-08-06 15:00:12 UTC
The last three examples in this section all address one of the criticisms originally levied against old-srcset: that by short-handing media queries – reducing them to a number and a signifier which effectively resolve to something like a max-width or max-height query – old-srcset prevented the min-width-based, “mobile-first” pattern many authors had adopted in their CSS media queries. [1]

The section, as originally written, shows that that criticism is baseless. Old-srcset can be used with that pattern.

But frankly, the new syntax, by simply *just using media queries* which authors are already familiar with, is *so* much simpler from an education standpoint that this section doesn't merit inclusion anymore. Because we're just using media queries, *of course* we can adopt either desktop-first or mobile-first patterns. *Of course* we can use either min-widths or max-widths. 

And we can do these things using the sort of code we’re already writing in our CSS... *without* having to put our minimum queries on a different source (!); *without* having to remember that by assigning a density descriptor without w/h the image is treated as suitable for a viewport of infinite dimensions (!).

Full media queries, unlike old-srcset, are obvious.

Old-srcset was terser and provided tighter constraints on what authors could and couldn't do. But it presented a much steeper learning curve. So of course authors prefer `picture`.

[1] http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-May/290211.html