Closed Bug 1583894 Opened 6 years ago Closed 1 year ago

[Inactive CSS] Display a warning when 'box-sizing' is used on elements that ignore width / height

Categories

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

enhancement

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: miker, Assigned: sebo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [importance-82.4%])

Attachments

(1 file)

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

invalidProperties: [
"box-sizing",
]

inactive-css-no-width-height = <strong>{ $property }</strong> has no effect on this element since it's width and height cannot be set.

inactive-css-no-width-height-fix = Try removing <strong>box-sizing</strong>. { learn-more }

Severity: normal → S3
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by sebastianzartner@gmail.com: https://hg.mozilla.org/integration/autoland/rev/4c71d288b97e [devtools] Handle 'box-sizing' property in inactive CSS. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: