Bug 147919

Summary: Web Inspector: Implement selector highlighting for iOS
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
timothy: review+
Patch none

Devin Rousso
Reported 2015-08-11 19:28:36 PDT
Originally from https://bugs.webkit.org/show_bug.cgi?id=145658. Basically, this would allow a node list to be passed to the highlight view which would render overlays on multiple nodes instead of just one.
Attachments
Patch (6.36 KB, patch)
2015-08-11 19:34 PDT, Devin Rousso
timothy: review+
Patch (6.10 KB, patch)
2015-08-12 10:02 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2015-08-11 19:34:52 PDT
Timothy Hatcher
Comment 2 2015-08-11 21:59:26 PDT
Comment on attachment 258794 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=258794&action=review > Source/WebKit2/UIProcess/WKInspectorHighlightView.mm:219 > + if ([_layers count] < (offset + 4) || highlight.quads.size() < (offset + 4)) No need for the () around the math. > Source/WebKit2/UIProcess/WKInspectorHighlightView.mm:251 > + [self _createLayers:(nodeCount * 4)]; Ditto. Line break after this line before the loop. > Source/WebKit2/UIProcess/WKInspectorHighlightView.mm:253 > + [self _layoutForNodeHighlight:highlight offset:(i * 4)]; No ().
Devin Rousso
Comment 3 2015-08-12 10:02:14 PDT
WebKit Commit Bot
Comment 4 2015-08-12 10:22:17 PDT
Attachment 258825 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WKInspectorHighlightView.mm:219: The parameter name "4" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 5 2015-08-12 10:54:18 PDT
Comment on attachment 258825 [details] Patch Clearing flags on attachment: 258825 Committed r188337: <http://trac.webkit.org/changeset/188337>
WebKit Commit Bot
Comment 6 2015-08-12 10:54:21 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.