Files
firefox/devtools/client/shared/widgets/tooltip
Nicolas Chevobbe 582f536939 Bug 1916258 - [devtools] Add colorSwatchReadOnly option for OutputParser. r=devtools-reviewers,ochameau.
The computed panel was already read only, but this was done
by checking the swatch class name directly in the output parser,
which is not ideal.
Here we have a proper setting, that we can use in the computed panel,
as well as in the variable tooltip, where we can't interact with
the swatches.
The pointer cursor is only added onto swatches that are a button
or have a button role.
Tests are updated accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D220819
2024-09-03 13:22:14 +00:00
..