Open Bug 1583903 Opened 5 years ago Updated 2 years ago

[Inactive CSS] Display a warning when 'crop' etc. are used on non-replaced elements

Categories

(DevTools :: Inspector: Rules, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [importance-6.7%])

Main file:
devtools/server/actors/utils/inactive-property-helper.js

invalidProperties: [
"crop",
"object-fit",
"object-position",
]

inactive-css-only-replaced-elements = <strong>{ $property }</strong> has no effect on this element since it can only be applied to replaced elements.

inactive-css-only-replaced-elements-fix = Ensure you are adding the property to a replaced element. { learn-more }

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.