Image's "responsive-amp-only" Does Not set Width and Height in non-AMPHTML format
Description
When an image short-code is set to do responsive-amp-only
, the image width=
and height=
for non-AMPHTML is supposedly set with given values. However, upon using image
short-code, it does not reflect such matter.
Expected Behavior
width=
and height=
are supposedly set when responsive-amp-only
is used in image
shortcode.
Current Behavior
width=
and height=
are not set when responsive-amp-only
is used in image
shortcode.
How to Reproduce
- Set an image with
responsive-amp-only
withimage
shortcode. - View source at the output page.
- Observe
width=
andheight=
are not set.
Severity
Level of Security: Significant
Urgency
Level of Urgency: Code BLUE