[Webkit-unassigned] [Bug 227642] New: Web Inspector: popover loses target element when computed panel and styles panel join/split

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 2 14:38:23 PDT 2021


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

            Bug ID: 227642
           Summary: Web Inspector: popover loses target element when
                    computed panel and styles panel join/split
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hratnu at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 432824

  --> https://bugs.webkit.org/attachment.cgi?id=432824&action=review

Bug in Action

The window resize handler in Popover.js class malfunctions when the any popover is visible and the styles and computed panel either join or split.

Steps to Reproduce.
1) Inspect any website (eg. www.apple.com)
2) Dock the WI to the bottom of the window
3) Ensure that the window is large enough so that styles panel is separate from computed panel

With ContextualDocumentationPopover
4) Click on contextualDocumentationButton in front of any css property in styles panel
5) While keeping the contextualDocumentationPopover open follow the next step
6) Reduce the window size horizontally until styles panel and computed panel join and then increase it till they split
7) Either in joining or splitting the popover will lose it's target element and start appearing on the top left corner of the window

with color palette 
4) type color css property in style attribute section in styles panel
5) give the property a color and click out of the property for the inline color swatch to appear
6) Click on the color swatch and then the color palette will appear
7) Reduce the window size horizontally until styles panel and computed panel join and then increase it till they split
8) Either in joining or splitting the popover will lose it's target element and start appearing on the top left corner of the window

-- 
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/20210702/f537baf4/attachment.htm>


More information about the webkit-unassigned mailing list