RESOLVED FIXED152991
Web Inspector: Fix DataGrid row disclosure appearance and behavior
https://bugs.webkit.org/show_bug.cgi?id=152991
Summary Web Inspector: Fix DataGrid row disclosure appearance and behavior
Matt Baker
Reported 2016-01-11 15:37:26 PST
* SUMMARY Fix DataGrid row disclosure appearance and behavior. Positioning and hit testing of the disclosure triangle has been broken for a while, but has gone unnoticed since it's not currently used.
Attachments
[Patch] Proposed Fix (3.79 KB, patch)
2016-01-11 15:43 PST, Matt Baker
no flags
Matt Baker
Comment 1 2016-01-11 15:43:58 PST
Created attachment 268719 [details] [Patch] Proposed Fix
Blaze Burg
Comment 2 2016-01-12 11:00:45 PST
Comment on attachment 268719 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=268719&action=review r=me Was there a specific regression, or was this a result of various stylesheet changes? > Source/WebInspectorUI/UserInterface/Views/DataGrid.js:1854 > + let computedLeftPadding = window.getComputedStyle(cell).getPropertyCSSValue("padding-left").getFloatValue(CSSPrimitiveValue.CSS_PX); Fancy.
Matt Baker
Comment 3 2016-01-12 11:22:39 PST
(In reply to comment #2) > Comment on attachment 268719 [details] > [Patch] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=268719&action=review > > r=me > > Was there a specific regression, or was this a result of various stylesheet > changes? Not sure. It's been so long since this has been used that I assumed the code just drifted over time and the breakage went unnoticed. > > > Source/WebInspectorUI/UserInterface/Views/DataGrid.js:1854 > > + let computedLeftPadding = window.getComputedStyle(cell).getPropertyCSSValue("padding-left").getFloatValue(CSSPrimitiveValue.CSS_PX); > > Fancy. Copied from TreeElement.prototype.isEventWithinDisclosureTriangle.
WebKit Commit Bot
Comment 4 2016-01-12 11:27:28 PST
Comment on attachment 268719 [details] [Patch] Proposed Fix Clearing flags on attachment: 268719 Committed r194906: <http://trac.webkit.org/changeset/194906>
WebKit Commit Bot
Comment 5 2016-01-12 11:27:31 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2016-01-14 12:40:08 PST
Note You need to log in before you can comment on or make changes to this bug.