Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 5.29 KB

RICG-newsletter-2016-03-21.md

File metadata and controls

51 lines (28 loc) · 5.29 KB

Finishing touches & new foundations

Teaser text: We did it.

picture just shipped in Safari 9.1

A long time ago, in a newsletter far, far away*, I reported that picture would be shipping in Safaris in “the fall.” Good news everybody! Apple shipped a webdev-focused Safari point release yesterday, and the headlining feature is picture!

And with that – every major browser is shipping with support for every respimg feature.

We did it.

Caveat implementor: Apple’s implementation still suffers from some fairly severe bugs. Two biggies: 1) double downloads sometimes, 2) it doesn’t respond to viewport changes.

Hey! What’s up with container queries?

Tab “The Catalyst” Atkins Jr., who outlined a technical plan for how container queries could work at the RICG meeting a year ago in Redmond, provided a status update in the RICG IRC. TL;DR: he wants to see this feature evolve from the ground up, rather decreeing it from the top, down. Extensible-Web-Manifesto-style.

So:

  1. Give authors the tools to create their own solutions. Namely: element-level resize events, custom CSS @-rules, and (maybe) an explicit way to break out of some of the thorny circular-dependency issues.
  2. Nudge authors to create (JavaScript-dependent) libraries and see if any of them gain traction and mature.
  3. If/when a given solution wins sufficient hearts/minds and achieves a degree of maturity: pull it into the platform; make it native.

To me, this sounds more or less like the path we (eventually) took to get from picturefill.js to <picture>. (Frustratingly) slow, (reassuringly) steady, and (happily) democratic. While we wait for various foundations to be laid, I say we all spend some time thinking about how to implement CQs as a progressive enhancement?

For the impatient: nitty-gritty discussions (and specifications!) about those pesky circularity issues have been kicking up again recently. Read up and chime in!

Managing complexity

Efforts continue on all fronts to make the creation, management, and delivery of responsive images as easy as possible.

The coolest tool released during the newsletter’s long haitus: Cloudinary’s responsive images breakpoint generator. A living, breathing, (and free!) answer to Jason Grigsby’s koan: how many differently-sized versions of a given image do we really need, and exactly what should their resolutions be?

It seems like I’ve mentioned this in every newsletter for the last six months, but – responsive images landing in WordPress 4.4 Core was a Big Flippin’ Deal, and has made respimg deployment completely automatic for millions of sites. Tim Evko wrote up a great explainer of how the implementation actually works on SmashingMag.

Speaking of great explainers on SmashingMag, Jon Arne Sæterås penned a great intro to Client Hints. If you want to do more respimg heavy lifting on your server and in HTTP headers and less in markup, Client Hints are the ticket.

Finally, I wrote a little thing on the Cloudinary blog about how to use their smart-cropping features for automatic art direction.

Grab bag

See you in a couple weeks!
—eric

* Sorry, by the way, for the extended haitus. Turns out: quitting your job, leaving the country for three weeks, and then moving from the Mile-High City to a cabin by the sea is fairly disruptive, re: timely newslettering.