| Summary: | Web Inspector: DOMTree Keyboard Shortcut 'H' to toggle element visibility is not working | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | adam.g.helm, bburg, commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Joseph Pecoraro
2015-05-22 17:28:21 PDT
Created attachment 253620 [details]
[PATCH] Proposed Fix
Comment on attachment 253620 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=253620&action=review > Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js:571 > + styleElement.textContent = ".__WebInspectorHideElement__, .__WebInspectorHideElement__::before, .__WebInspectorHideElement__::after { visibility: hidden !important; }"; I have a feeling the before/after parts may not be necessary... Comment on attachment 253620 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=253620&action=review >> Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js:571 >> + styleElement.textContent = ".__WebInspectorHideElement__, .__WebInspectorHideElement__::before, .__WebInspectorHideElement__::after { visibility: hidden !important; }"; > > I have a feeling the before/after parts may not be necessary... Oops it is not. Sorry, I was getting ahead of myself. New patch up soon. Created attachment 253621 [details]
[PATCH] Proposed Fix
Comment on attachment 253621 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=253621&action=review r=me > Source/WebInspectorUI/ChangeLog:11 > + 1. inject a <style> on the page like ".WebInspectorHide { visiblity:hidden }" 'visibility' > Source/WebInspectorUI/ChangeLog:17 > + * UserInterface/Views/DOMTreeOutline.js: Might want to note that the old approach uses different CSS properties to achieve the same thing. Created attachment 253622 [details]
[PATCH] For Landing
Comment on attachment 253622 [details] [PATCH] For Landing Clearing flags on attachment: 253622 Committed r184815: <http://trac.webkit.org/changeset/184815> |