[wp-trac] [WordPress Trac] #42920: Add support for the picture element
WordPress Trac
noreply at wordpress.org
Wed Aug 7 15:32:27 UTC 2019
#42920: Add support for the picture element
-------------------------------------------------+-------------------------
Reporter: desrosj | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by willstockstech):
Hey @desrosj!
Would this feature include the "automated"/"transparent" handling of
adding `.webp` `<source>`'s in conjunction with #35725 (assuming that a
`webp` version of a file is generated upon media upload)? Or would that be
a post-`<picture>`-implementation feature/future thing?
It would be great to see this functionality (both `<picture>` and `webp`)
in WP natively, as opposed to having to either patch something together or
utilize plugins (that only seem to do a partial amount of each piece of
the work). Given `webp` support is a bit wider now at over 80.5% (only
Apple holding out it seems), as well as `<picture>` having over 93.5%
browser support - it seems like this would be "quick win" for WordPress in
todays performance/data consumption culture.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42920#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list