Opened 16 months ago
Closed 16 months ago
#62566 closed defect (bug) (invalid)
Bug in WordPress version: 6.7.1
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 6.7.1 |
| Component: | General | Keywords: | dev-feedback close |
| Focuses: | Cc: |
Description (last modified by )
Error display in head tag
code: <style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style>
Need to add a dot in style tag attribute " .contain-intrinsic-size "
File Location: wp-include/media.php line no.: 2076
Change History (4)
#2
@
16 months ago
- Description modified (diff)
- Keywords close added
I think you're mistaking this for a CSS class name. contain-intrinsic-size is indeed a valid CSS property, see https://developer.mozilla.org/en-US/docs/Web/CSS/contain-intrinsic-size
This ticket was mentioned in Slack in #core by poena. View the logs.
16 months ago
Note: See
TracTickets for help on using
tickets.
Thank you for the ticket. @pateldeepak852
For me, the current code seems correct, and there doesn’t to be an issue.
The :is() pseudo-class and contain-intrinsic-size property are used appropriately.
Adding a .contain-intrinsic-size class is unnecessary and redundant.
Please correct me if I'm misunderstanding something? OR please provide more details of the issue.