[Webkit-unassigned] [Bug 177115] Web Inspector: Add details sidebar to Layers tab.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 18 20:09:32 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177115
--- Comment #3 from Ross Kirsling <ross.kirsling at sony.com> ---
Comment on attachment 321172
--> https://bugs.webkit.org/attachment.cgi?id=321172
Patch
This patch introduces LayerDetailsSidebarPanel, which is largely the same as LayerTreeDetailsSidebarPanel except for a couple of key differences, which all follow from the fact that we're inspecting "all layers on the current document" and not "layers arising from the children of the selected DOM node":
1. There are no DetailsSections, the DataGrid fills the content area of the sidebar.
2. Dimension information for each layer has been moved to the row popover, and the difference between composited and visible dimensions has been made explicit.
3. Layer data is not retrieved by the sidebar itself, but is passed in from the main ContentView via supplementalRepresentedObjects.
Now, since DetailsSidebarPanels generally instanceof-check all incoming objects (so as to be unassuming of the tab on which they reside), this patch also adds a model class for layer objects. To avoid having it be 100% boilerplate, I've moved the "composited bounds don't have a position" workaround inside that class.
--
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/20170919/65eb8638/attachment-0001.html>
More information about the webkit-unassigned
mailing list