Closed Bug 1583906 Opened 5 years ago Closed 1 year ago

[Inactive CSS] Display a warning when 'empty-cells' is used on invalid elements

Categories

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

enhancement

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: miker, Assigned: sebo)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed, Whiteboard: [importance-2.9%])

Attachments

(1 file)

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

invalidProperties: [
"empty-cells",
]

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

inactive-css-empty-cells-fix = Ensure you are adding the property to a table cell. { learn-more }

NOTE: Table cells are elements with display:table-cell set.

Severity: normal → S3
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by sebastianzartner@gmail.com: https://hg.mozilla.org/integration/autoland/rev/64614fad6fe0 [devtools] Handle 'empty-cells' property in inactive CSS. r=devtools-reviewers,fluent-reviewers,flod,jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch

This might be worth being mentioned in https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/118 together with the changes of bug 1842174 and bug 1583912.

Sebastian

Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: