anchor-center is displayed in autocomplete for align-items property, although it's not recognized as a valid property yet
Categories
(DevTools :: Inspector: Rules, defect)
Tracking
(firefox136 verified)
Tracking | Status | |
---|---|---|
firefox136 | --- | verified |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 file)
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8>
- Open the inspector
- On the body
element
rule, add a newalign-items
property
-> the anchor-center
item is in the list. If you hit enter, the value is marked as invalid
Expected results
We shouldn't show the value if it's not going to be valid.
anchor-center
is related to anchor positioning (https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#anchor-center), which is currently being worked on. We should make sure to not have misleading values in the inspector.
Assignee | ||
Comment 1•8 months ago
|
||
InspectorUtils.getCSSValuesForProperty("align-items")
does return anchor-center
.
Jonathan, any idea what's happening here?
Assignee | ||
Comment 2•7 months ago
|
||
Updated•7 months ago
|
Assignee | ||
Comment 3•7 months ago
|
||
(I tried fixing it myself, let's see how wrong I am :) )
Comment 5•7 months ago
|
||
bugherder |
Updated•6 months ago
|
Comment 6•6 months ago
|
||
I have reproduced this issue using Firefox 135.0a1 (2024.12.04) on Windows 11.
I can confirm this issue is fixed, I verified using Firefox 136.0b2 on Win 11, macOS 12 and on Ubuntu 22, now the anchor-center item is not present in the align-items property list.
Updated•6 months ago
|
Description
•