WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 106534
HitTestRequest with allowsShadowContent() = false cannot prohibit shadow content correctly.
https://bugs.webkit.org/show_bug.cgi?id=106534
Summary
HitTestRequest with allowsShadowContent() = false cannot prohibit shadow cont...
Shinya Kawanaka
Reported
2013-01-10 00:06:07 PST
Node::shadowAncestorNode() is deprecated. We would like to convert shadowAncestorNode to shadowHost(). Also, maybe HitTest contains some bug when it's used in nested ShadowDOM. We have to investigate and fix it.
Attachments
Add attachment
proposed patch, testcase, etc.
Shinya Kawanaka
Comment 1
2013-01-22 21:38:47 PST
Since it uses shadowAncestorNode() only once, if it's used in nested Shadow DOM, it might expose ShadowDOM element. Maybe using Document::nodesFromRect() can reproduce this bug easily.
Shinya Kawanaka
Comment 2
2013-01-22 22:54:29 PST
Document::nodesFromRect() is easy to use, but in future, it might return only light nodes (since it's Document method). Maybe it's safe to have a new method in Internals.
Shinya Kawanaka
Comment 3
2013-01-22 22:55:30 PST
By the way, this bug will affect the result of hit test for touch gestures, as far as I see.
Hayato Ito
Comment 4
2013-04-23 22:33:46 PDT
I think I've fixed the HitTests for gesture events. Please feel free to reopen this if you have a HitTest to be fixed further.
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