Open
Bug 1524577
Opened 7 years ago
Updated 3 years ago
"none" value unavailable in the list for "flex" property
Categories
(DevTools :: Inspector, defect, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: emmanuel.clement, Unassigned)
Details
Attachments
(1 file)
|
25.33 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
- Open the inspector (F12);
- set a flex property on a element;
- try to chose "none" value.
Actual results:
"none" is unavailable in the list of values (see attached files).
But when none is set manually, the behaviour is ok.
Expected results:
Having "none" value in the list.
Assignee: nobody → mratcliffe
Status: UNCONFIRMED → ASSIGNED
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → All
Priority: -- → P2
Hardware: Unspecified → All
Assignee: mratcliffe → nobody
Status: ASSIGNED → NEW
Comment 1•5 years ago
|
||
It appears that devtools/shared/css/generated/properties-db.js provides the information of what values are suggested. The values section for flex is missing "none."
"flex": {
///...
"values": [
"-moz-available",
"-moz-fit-content",
"auto",
"content",
"fit-content",
"inherit",
"initial",
"max-content",
"min-content",
"revert",
"unset"
]
},
Looking at the most recent change to this generated file it appears that this might require some cpp or rust changes in servo/components/style/values?
I'm out of my depth at this point, I hope this research helps though
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•