Add filter tooltip for backdrop-filter
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: cbrewster, Assigned: cbrewster)
References
Details
Attachments
(2 files)
Once the backdrop-filter
property CSS parsing is implemented, the DevTools should show a tooltip for editing filters similar to the filter
property tooltip.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
For reference, it looks like the "filter" tooltip/widget is implemented in these two JS files (at least):
https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/devtools/client/shared/widgets/tooltip/SwatchFilterTooltip.js
https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/devtools/client/shared/widgets/FilterWidget.js
Assignee | ||
Comment 2•5 years ago
|
||
It looks like all we may need to do is add an additional check for backdrop-filter
here:
https://searchfox.org/mozilla-central/source/devtools/client/shared/output-parser.js#92
Comment 3•5 years ago
|
||
Yes, we would only need to make some changes in the output-parser.js regarding whether or not it should expectFilter.
Comment 4•5 years ago
|
||
I have originally set this to P3 due to the fact it has blockers. However, we can add a check for whether or not backdrop-filter is enabled in platform and if so check if the name matches backdrop-filter.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5eaa76ed37ca
Enable filter tooltip for backdrop-filter in devtools r=gl
Comment 7•5 years ago
|
||
bugherder |
Description
•