Autocomplete for url() values don't work for the cursor property
Categories
(DevTools :: Inspector: Rules, defect)
Tracking
(firefox-esr78 unaffected, firefox86 unaffected, firefox87 unaffected, firefox88 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | fixed |
People
(Reporter: mtigley, Assigned: mtigley)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
STR
- Open the DevTools Inspector
- Go to the Rules view
- In any rule, try adding a cursor property with a
url()
value
Expected
While typing in "url", I expect the autocomplete list to show an option for "url"
Actual
No autocomplete option is given for "url"
I think this has to do with the support for a "url" value being removed for the cursor property in https://phabricator.services.mozilla.com/D106745 after using the ./mach devtools-css-db
to update the DevTools CSS database.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Looked into this a bit more and it looks like modifying devtools/shared/css/generated/properties-db.js
isn't actually what we want (and probably what we shouldn't be doing anyway since it's generated).
I think the next step here is look into this, which is called from GetCSSValuesForProperty. The caller from C++ is through InspectorUtils.GetCSSValuesForProperty.
I wonder if this is because SpecifiedValueInfo
is manually implemented for CursorImage
now, so it's tripping up what GetCSSValuesForProperty
is getting for enabled values for the cursor property . Emilio, perhaps you might know why this is?
Comment 2•4 years ago
|
||
Yes, this was caused by manually implementing SpecifiedValueInfo
for CursorImage
. We probably want to just implement collect_completion_keywords and return url and image-set for now.
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f82baebe8645
https://hg.mozilla.org/mozilla-central/rev/d479bcc42014
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Set release status flags based on info from the regressing bug 1695402
Updated•4 years ago
|
Updated•4 years ago
|
Description
•