NEW227642
Web Inspector: popover loses target element when computed panel and styles panel join/split
https://bugs.webkit.org/show_bug.cgi?id=227642
Summary Web Inspector: popover loses target element when computed panel and styles pa...
Harshil Ratnu
Reported 2021-07-02 14:38:23 PDT
Created attachment 432824 [details] 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
Attachments
Bug in Action (53.82 MB, video/quicktime)
2021-07-02 14:38 PDT, Harshil Ratnu
no flags
Radar WebKit Bug Importer
Comment 1 2021-07-09 14:41:54 PDT
Note You need to log in before you can comment on or make changes to this bug.