Closed Bug 1583896 Opened 6 years ago Closed 4 years ago

[Inactive CSS] Display a warning when 'text-rendering' is used on non-SVG and non-text elements

Categories

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

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [importance-27.8%])

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

invalidProperties: [
"text-rendering",
]

inactive-css-only-svg-and-text = <strong>{ $property }</strong> has no effect on this element since it only applies to SVG and text.

inactive-css-only-svg-and-text-fix = Try removing <strong>text-rendering</strong>. { learn-more }

This is an inherit property and as such is commonly set on ancestors of text elements too.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.