[wp-trac] [WordPress Trac] #50909: WordPress 5.5 update adds height and width attributes to images
WordPress Trac
noreply at wordpress.org
Wed Aug 12 18:50:54 UTC 2020
#50909: WordPress 5.5 update adds height and width attributes to images
--------------------------+------------------------------
Reporter: jeslen | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by jeslen):
Not sure if this should be considered a separate bug or the same one.
The Image dimensions setting in the Gutenberg editor no longer work if the
CSS style `height: auto;` is applied to the `img` selector. So, any image
that had its dimensions altered in Gutenberg, and were displaying
appropriately, will now display incorrectly since the CSS takes priority.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50909#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list