Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#62527 closed defect (bug) (duplicate)

Images distorted in v6.7.1

Reported by: reallygreenjames's profile ReallyGreenJames Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.7.1
Component: Media Keywords:
Focuses: Cc:

Description

This is a follow-up to #62413.

On one of my sites 6.7.1 does not resolve the issue. I have the same problem as described:

https://core.trac.wordpress.org/ticket/62413#comment:45
"images stretched too tall".

Demonstrated here (affects Chrome):
https://dev.yorkshiredance.com/

Change History (5)

#1 follow-up: @jeroenrotty
2 weeks ago

Somehow on your dev page (code line 26) I see an inline <style></style> with:

<style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style>

If I disable that - images on your site show up as they should. I don't think this inline style comes from either core or the block editor?

#2 @junior
2 weeks ago

edit - Removed my previous comment since it may not have been related to this issue.

Last edited 2 weeks ago by junior (previous) (diff)

#3 in reply to: ↑ 1 @fredel
2 weeks ago

Replying to jeroenrotty:

Here? https://core.trac.wordpress.org/ticket/62413#comment:36

Seems same issue i am having https://core.trac.wordpress.org/ticket/62515

Somehow on your dev page (code line 26) I see an inline <style></style> with:

<style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style>

If I disable that - images on your site show up as they should. I don't think this inline style comes from either core or the block editor?

Last edited 2 weeks ago by fredel (previous) (diff)

#4 @poena
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #62515.

Hi @ReallyGreenJames and welcome to WordPress Trac!

Thank you for the report. I believe this is a duplicate of https://core.trac.wordpress.org/ticket/62515 which was reported just before your ticket. I will close this ticket, to keep the discussions and testing in one place.

This ticket was mentioned in Slack in #core by poena. View the logs.


2 weeks ago

Note: See TracTickets for help on using tickets.