Summary: | Web Inspector: Add View.prototype.contentElement, to protect the "private" part of the view's DOM | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Baker <mattbaker> |
Component: | Web Inspector | Assignee: | Matt Baker <mattbaker> |
Status: | NEW --- | ||
Severity: | Normal | CC: | graouts, inspector-bugzilla-changes, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 151126 |
Description
Matt Baker
2015-11-06 16:00:17 PST
Building this functionality into class View might be overkill. For the following cases it's straightforward to just create a "contentView" with a public getter: - TimelineOverivew: graphContainerElement (fixed in https://webkit.org/b/152235) - SidebarPanel: contentElement -> contentView - DetailsSection: contentElement -> contentView - ScrollableView: will need a content view to hide scrollbars, etc, from derived classes and view clients. - Popovers |