WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
147919
Web Inspector: Implement selector highlighting for iOS
https://bugs.webkit.org/show_bug.cgi?id=147919
Summary
Web Inspector: Implement selector highlighting for iOS
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+
Details
Formatted Diff
Diff
Patch
(6.10 KB, patch)
2015-08-12 10:02 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2015-08-11 19:34:52 PDT
Created
attachment 258794
[details]
Patch
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
Created
attachment 258825
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug