Open Bug 1268427 Opened 4 years ago Updated 2 years ago

Show door hanger for properties even when an invalid value was entered

Categories

(DevTools :: Inspector: Rules, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: sebo, Unassigned)

References

Details

(Whiteboard: [devtools-ux])

+++ This bug was initially created as a clone of Bug #1217328 +++

Properties, which allow to change their value via a tooltip, should always show the door hanger icon to open that tooltip, also in case of an invalid value. This improves the UX by allowing you to choose a value without having to enter a valid value first.

This already works for invalid values within the 'filter' property, though not for any other property.

For shorthand properties (like 'animation: invalid-timing-function 2s;') or colors appearing within a function (like 'background-image: linear-gradient(invalid-color, blue);') it may be tricky to recognize where to add a door hanger, so those cases may be skipped if no easy solution is found.
Though for simple values (like 'color: invalid-color;') that should be straight forward.

Sebastian
See Also: → 1268429
See Also: → 1217328
Inspector bug triage (filter on CLIMBING SHOES).
Priority: -- → P2
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.