RESOLVED FIXED 177771
Web Inspector: Ensure popovers are not malformed on window resize.
https://bugs.webkit.org/show_bug.cgi?id=177771
Summary Web Inspector: Ensure popovers are not malformed on window resize.
Ross Kirsling
Reported 2017-10-02 13:24:44 PDT
(Discovered as part of https://bugs.webkit.org/show_bug.cgi?id=177477.) Repro: 1. View the Layers sidebar and click on a data grid row. 2. Squash the Web Inspector window horizontally until the popover needs to be repositioned vertically. >> The popover no longer contains its content properly after it is repositioned. Reason: `arrow-*` CSS classes are not being removed from popovers when re-`present`ing a popover from the window resize handler.
Attachments
Screenshot of malformed popover (96.04 KB, image/png)
2017-10-02 13:27 PDT, Ross Kirsling
no flags
Patch (1.83 KB, patch)
2017-10-02 13:28 PDT, Ross Kirsling
no flags
Patch (1.93 KB, patch)
2017-10-02 13:42 PDT, Ross Kirsling
no flags
Ross Kirsling
Comment 1 2017-10-02 13:27:50 PDT
Created attachment 322420 [details] Screenshot of malformed popover
Ross Kirsling
Comment 2 2017-10-02 13:28:46 PDT
Joseph Pecoraro
Comment 3 2017-10-02 13:31:06 PDT
Comment on attachment 322421 [details] Patch r=me This sounds good to me. A description in the ChangeLog about why would be nice.
Ross Kirsling
Comment 4 2017-10-02 13:42:29 PDT
WebKit Commit Bot
Comment 5 2017-10-02 14:31:38 PDT
Comment on attachment 322424 [details] Patch Clearing flags on attachment: 322424 Committed r222742: <http://trac.webkit.org/changeset/222742>
WebKit Commit Bot
Comment 6 2017-10-02 14:31:39 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2017-10-02 14:32:20 PDT
Note You need to log in before you can comment on or make changes to this bug.