[wp-trac] [WordPress Trac] #31997: Typo on wordpress.com breaks browsers that support srcset

WordPress Trac noreply at wordpress.org
Fri Apr 17 00:53:34 UTC 2015


#31997: Typo on wordpress.com breaks browsers that support srcset
--------------------------+----------------------
 Reporter:  reperiendi    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Old description:

> Image tags like
>     <img
> src="http://tuvalu.santafe.edu/~yoav/kinnet/images/cube_net_folding.png"
> width="450">
>
> get served as
>
>     <img width="450"
> src="https://i0.wp.com/tuvalu.santafe.edu/~yoav/kinnet/images/cube_net_folding.png"
> height="298"
> srcset="https://i0.wp.com/tuvalu.santafe.edu/~yoav/kinnet/images/cube_net_folding.png&zoom=2
> 2x" scale="2">
>
> The ampersand in the srcset attribute should likely be a questionmark; as
> it is, the server returns
>
>     We cannot complete this request, remote data was invalid
>
> instead of an image.

New description:

 Image tags like
 `<img
 src="http://tuvalu.santafe.edu/~yoav/kinnet/images/cube_net_folding.png"
 width="450">`

 get served as
 `<img width="450"
 src="https://i0.wp.com/tuvalu.santafe.edu/~yoav/kinnet/images/cube_net_folding.png"
 height="298"
 srcset="https://i0.wp.com/tuvalu.santafe.edu/~yoav/kinnet/images/cube_net_folding.png&zoom=2
 2x" scale="2">`

 The ampersand in the srcset attribute should likely be a questionmark; as
 it is, the server returns

     We cannot complete this request, remote data was invalid

 instead of an image.

--

Comment:

 Please contact [http://en.support.wordpress.com/contact/ WordPress.com
 Support] to report the problem.

 This Trac is a development tool for WordPress core software, available for
 download on WordPress.org.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31997#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list