Skip to content

Latest commit

 

History

History
35 lines (17 loc) · 3.89 KB

RICG-newsletter-2015-05-11.md

File metadata and controls

35 lines (17 loc) · 3.89 KB

Firefox 38 with respimg support ships tomorrow

It’ll support everything (srcset, x, w, sizes, picture, type, and media) but doesn’t respond to viewport changes — yet. Those should arrive shortly.

Speaking of major implementation news…

w and sizes have landed in WebKit nightlies

srcset and x descriptors have been shipping in WebKit since forever, and while support for w descriptors and sizes came in June, that support has been hidden behind a compile-time flag. That changed last week. Yoav – after a Twitter exchange with WebKit engineer Benjamin Poulain – fixed a few bugs, added a boatload of tests, removed a compile time flag et voilà – WebKit nightly now has full srcset and sizes support as part of the main codebase.

Yoav’s tests are good, but testing against real-world production-code is better, so download WebKit Nightly, point it to your srcsets, and let Yoav know about any funny business.

Picturefill 3 comin’

It will be both faster (especially on sites with huge numbers of images and/or complex DOMs) and more furious, where by “furious” I of course mean mean “spec- and test-compliant, mimicking as much native behavior as is possible”. For example: just like Chrome, if the polyfill finds a larger image than it needs from a given srcset available in the cache, it’ll use that, rather than downloading an entirely new, smaller image.

Oh, and the docs page should be getting a spiffy new re-design.

Grab bag

  • Want respimg in the WordPress core? Get involved in the effort! (more detailed instructions on joining the WordPress Slack are here.

  • Dave Newton speaks! Dave Newton will speak! (at the CSSConf in New York on June 18th and 19th) Dave Newton has spoken! (on respimg and the broader goal of a universally accessible web at the OpenWest conference in Provo, Utah)

  • I penned a tiny update to my A List Apart respimg article, talking about how and why my examples no longer validate. Don’t rely on default sizes!

  • Here’s a nice little implementation experience writeup: stuff.co.nz wrote up their struggle with an age-old Picturefill question: whether or not to include a src. The prose leads me to believe that after trying to cheat fate with some ill-advised visibility:hidden; and <noscript> trickery, they came down on the side of including a src and risking double downloads (even though src is [mistakenly?] missing from the last example).

  • Yoav took to his blog to summarize the last eventful, productive, and respimg-filled year and a half of his life. The best part: promises of more blogging!

See you in a couple of weeks!

—eric