href attribute and min-width and max-width properties are not handled properly when using the media attribute #6669
Labels
lcp
needs: grooming
priority: medium
Issues which are important, but no one will go out of business.
severity: major
Feature is not working as expected and no work around available
type: bug
Indicates an unexpected problem or unintended behavior
Milestone
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
The
min-width
andmax-width
properties, and thehref
attribute, are not handled properly when using themedia
attributeTo Reproduce
Steps to reproduce the behavior:
Note how the
(min-width: 501px)
is duplicated, and how thehref=""
is emptyExpected behavior
To keep the right markup for the images.
Additional context
Slack: https://wp-media.slack.com/archives/C072P5EU5DF/p1716817705159419
Ticket: https://secure.helpscout.net/conversation/2608014439/493689/
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
The text was updated successfully, but these errors were encountered: