Bug 227645 - Web Inspector: ContextualDocumentationButton should appear when editing any value even without hover
Summary: Web Inspector: ContextualDocumentationButton should appear when editing any v...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on: 226883
  Show dependency treegraph
Reported: 2021-07-02 14:50 PDT by Harshil Ratnu
Modified: 2021-07-09 14:51 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Harshil Ratnu 2021-07-02 14:50:52 PDT
Currently the Contextual Documentation Popover only appears in the styles panel when hovering on top of a value. However to increase it's discoverability it should also appear on css properties whose values are being edited. Since most developers use Tab key to navigate between styles it would be a helpful addition in showing that the documentation for certain properties exists and can be shown by clicking on the button.

Current Behavior:
1) User inspects a webpage
2) User hovers on top of a css property and the contextualDocumentationButton appears besides that property
3) User clicks in the value field and the button still appear
4) Now, the user tabs into the next property, specifically the next property name -  info button should not appear does not want to show documentation for a property that is being edited.
5) User tabs again and goes into the value field of a property - recall the user is still hovering on the property above it and hence the info button is only appearing on the property above it.

Suggested change in current behavior:
Step 5 New) If the user is editing a value field for a property on which they are not hovering the info button should still appear besides that property (granted the property is documented)
In this scenario there would be two info buttons in the window - 1st besides the property the user is hovering upon and 2nd besides whatever property value the user is editing.
Comment 1 Radar WebKit Bug Importer 2021-07-09 14:51:16 PDT