WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
40131
[GTK] Add inner-node property to WebKitHitTestResult
https://bugs.webkit.org/show_bug.cgi?id=40131
Summary
[GTK] Add inner-node property to WebKitHitTestResult
Xan Lopez
Reported
2010-06-03 11:21:07 PDT
Carries the DOM node where the hit test happened.
Attachments
innernode.diff
(8.57 KB, patch)
2010-06-03 11:23 PDT
,
Xan Lopez
xan.lopez
: commit-queue-
Details
Formatted Diff
Diff
innernode.diff
(8.57 KB, patch)
2010-06-03 11:31 PDT
,
Xan Lopez
xan.lopez
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Xan Lopez
Comment 1
2010-06-03 11:23:01 PDT
Created
attachment 57793
[details]
innernode.diff Patch
WebKit Review Bot
Comment 2
2010-06-03 11:23:47 PDT
Attachment 57793
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebKit/gtk/webkit/webkithittestresult.cpp:212: Missing spaces around | [whitespace/operators] [3] WARNING: File exempt from style guide. Skipping: "WebKit/gtk/tests/testhittestresult.c" Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Xan Lopez
Comment 3
2010-06-03 11:31:38 PDT
Created
attachment 57794
[details]
innernode.diff Fix style nit.
Shaun McCance
Comment 4
2010-06-04 12:41:29 PDT
Thanks, Xan. This works well for the stuff I'm doing in Yelp. What needs to be done before it can be committed?
Gustavo Noronha (kov)
Comment 5
2010-06-07 11:04:26 PDT
Comment on
attachment 57794
[details]
innernode.diff 199 * The DOM node at the coordinates where the hit test 200 * happened. Keep in mind that the node might not be 201 * representative of the information given in the context 202 * property, since WebKit uses a series of heuristics to figure 203 * out that information. I think this needs an example to be better understood. I believe this means we might not be returning an <img> node, even though the hit test result has information about the hit being in an image. I think this example, or even use the example you used in the test (innert text node vs anchor element).
Xan Lopez
Comment 6
2010-06-08 04:26:14 PDT
Comment on
attachment 57794
[details]
innernode.diff Pushed with the example you suggested as
r60834
Xan Lopez
Comment 7
2010-06-08 04:26:30 PDT
Closing.
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