WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
191851
Document::focusNavigationStartingNode doesn't take shadow tree into account
https://bugs.webkit.org/show_bug.cgi?id=191851
Summary
Document::focusNavigationStartingNode doesn't take shadow tree into account
Ryosuke Niwa
Reported
2018-11-19 22:16:41 PST
Document::focusNavigationStartingNode needs to take shadow tree and slotted content into account. This is a bit tricky because this code needs to traverse the composed tree forward & backward.
Attachments
A patch to add a test case
(2.09 KB, patch)
2018-11-19 22:21 PST
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2018-11-19 22:18:10 PST
Antti, what do you think about adding the support for traversing backwards to ElementAndTextDescendantIterator and ComposedTreeIterator?
Radar WebKit Bug Importer
Comment 2
2018-11-19 22:18:41 PST
<
rdar://problem/46178587
>
Ryosuke Niwa
Comment 3
2018-11-19 22:21:42 PST
Created
attachment 355311
[details]
A patch to add a test case
Antti Koivisto
Comment 4
2018-11-20 06:13:42 PST
(In reply to Ryosuke Niwa from
comment #1
)
> Antti, what do you think about adding the support for traversing backwards > to ElementAndTextDescendantIterator and ComposedTreeIterator?
Good idea!
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