[Inactive CSS] Display a warning when float related properties are used incorrectly.
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
Tracking
(firefox129 fixed)
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: miker, Assigned: sebo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Importance: 86.0%])
Attachments
(1 file)
Only non-flex and non-grid items:
[
"float",
]
[This property] doesn't have an effect because it cannot be used on grid or flex items.
Only block-level elements, floats, regions and pages:
[
"clear",
]
[This property] doesn't have an effect because it only applies to block level elements, floats regions and pages. Try adding properties like display:block or float:left
Only floats:
[
"float-offset",
"shape-image-threshold",
"shape-margin",
"shape-outside",
]
[This property] doesn't have an effect because it only applies to floated elements. Try adding properties like float:left
Reporter | ||
Updated•6 years ago
|
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•5 months ago
|
||
The clear
property currently only applies to block-Level elements, not to floats, regions, or pages, because the related CSS Page Floats Module (https://www.w3.org/TR/css-page-floats-3/) is not implemented yet.
For the same reason, we don't check float-offset
and float-defer
at the moment.
Updated•5 months ago
|
Comment 3•5 months ago
|
||
bugherder |
Description
•