[Webkit-unassigned] [Bug 226883] Web Inspector: add contextual documentation for CSS properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 21 19:58:34 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226883

--- Comment #5 from Patrick Angle <pangle at apple.com> ---
Comment on attachment 431883
  --> https://bugs.webkit.org/attachment.cgi?id=431883
Patch v1.0 -First Draft For Review

View in context: https://bugs.webkit.org/attachment.cgi?id=431883&action=review

>> Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js:594
>> +        })
> 
> This should probably be in CSS, not JS. e.g.
> ```
> .spreadsheet-style-declaration-editor.properties > .property > .content> .documentation-popover-info-button {
>     display: none;
> }
> .spreadsheet-style-declaration-editor.properties > .property > .content:hover > .documentation-popover-info-button {
>     display: inline-block;
> }
> 
> .content:hover > .documentation-popover-info-button {
>     display: inline-block;
> }
> ```
> This will also solve the issue that you can end up with more than one event listener doing this attached.

Oops - I messed up my example, it should be
```
.spreadsheet-style-declaration-editor.properties > .property > .content> .documentation-popover-info-button {
    display: none;
}
.spreadsheet-style-declaration-editor.properties > .property > .content:hover > .documentation-popover-info-button {
    display: inline-block;
}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210622/a606c5a5/attachment.htm>


More information about the webkit-unassigned mailing list