Page 4 of 4

Re: Support for picture element?

Posted: Fri Jan 29, 2016 5:14 pm
by Albert Wiersch
Hi Rick,

Great. I'll leave the "picture" message as is.

I think what I'm using now may have the ability to "link the links" but if I recall there was some issue with it when I tried it a while back. I'll see if I can "flip that switch" again and see what happens. Hopefully it will be that simple.

Re: Support for picture element?

Posted: Fri Jan 29, 2016 5:23 pm
by RSteinwand
Flip it.
Bug it.
Update it.
Use it.

If that doesn't work:
Forget it.

Re: Support for picture element?

Posted: Fri Apr 22, 2016 4:23 pm
by RSteinwand
PageSpeed Insights added support for the "Picture" element months ago. Prior to that it would dock me for having oversized images.

Re: Support for picture element?

Posted: Mon Dec 19, 2016 1:21 pm
by RSteinwand
As of Jan 2016, the "picture" element is considered an experimental HTML 5.1 element and is not currently supported in some of the major browsers. For example, Internet Explorer (including IE11) and Safari (including Safari 9) do not currently support this element. However, it is supported by default in Chrome 38+, Edge 13+, Firefox 38+, and Opera 25+. Visit http://caniuse.com/#search=picture for more information. This message is displayed only once.
CanIUse shows support for Opera 9.1+ so only IE, Opera Mini and old Android are unsupported.

Browsers ignore what they don't understand and in unsupported browsers if fails-over to an <img>.

Re: Support for picture element?

Posted: Mon Dec 19, 2016 2:13 pm
by Albert Wiersch
Thanks. I've updated the message:
As of Dec 2016, the "picture" element is considered an experimental HTML 5.1 element and is not currently supported in some of the major browsers. For example, Internet Explorer (including IE11) and Safari 9 and below do not currently support this element. However, it is supported by default in Chrome 38+, Edge 13+, Firefox 38+, Opera 25+, and Safari 9.1+. Visit http://caniuse.com/#search=picture for more information. This message is displayed only once.
This page still says it is experimental:
https://developer.mozilla.org/en-US/doc ... nt/picture

I think I will keep it as a warning though, because IE11 does not support it and I think it is important that web developers know that.

Re: Support for picture element?

Posted: Mon Dec 19, 2016 2:43 pm
by RSteinwand
With the amount of browser support it has, I don't consider it experimental, but I agree it needs to be a warming because of IE.

Re: Support for picture element?

Posted: Mon Dec 19, 2016 2:52 pm
by Albert Wiersch
RSteinwand wrote:With the amount of browser support it has, I don't consider it experimental, but I agree it needs to be a warming because of IE.
Yes, I was thinking the same thing and am not sure that "experimental" designation still applies.

I've updated the message to (still a warning):
The "picture" element is not currently supported in some of the major browsers. For example, Internet Explorer (including IE11) and Safari 9 and below do not currently support this element. However, it is supported by default in Chrome 38+, Edge 13+, Firefox 38+, Opera 25+, and Safari 9.1+. Visit http://caniuse.com/#search=picture for more information. This message is displayed only once.

Re: Support for picture element?

Posted: Tue Dec 20, 2016 9:34 am
by RSteinwand
Perfect.

Thanks.