WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
247350
AX: Render tree continuations can cause parts of the AX tree to be duplicated
https://bugs.webkit.org/show_bug.cgi?id=247350
Summary
AX: Render tree continuations can cause parts of the AX tree to be duplicated
Tyler Wilcock
Reported
2022-11-01 18:09:15 PDT
We partially solved this in
https://bugs.webkit.org/show_bug.cgi?id=157818
, but that change isn't enough to prevent the problem in all cases.
Attachments
Patch
(2.54 KB, patch)
2022-11-02 10:33 PDT
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Patch
(2.64 KB, patch)
2022-11-02 10:43 PDT
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Patch
(2.83 KB, patch)
2022-11-02 10:46 PDT
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-01 18:09:26 PDT
<
rdar://problem/101835073
>
Tyler Wilcock
Comment 2
2022-11-02 10:33:05 PDT
Created
attachment 463364
[details]
Patch
Tyler Wilcock
Comment 3
2022-11-02 10:38:18 PDT
rdar://101506601
chris fleizach
Comment 4
2022-11-02 10:39:59 PDT
Comment on
attachment 463364
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=463364&action=review
> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:408 > + return nextObject->nextSibling();
do we need to check if return nextObject->nextSibling(); == nil and then fall down to next case?
Tyler Wilcock
Comment 5
2022-11-02 10:43:32 PDT
Created
attachment 463365
[details]
Patch
Tyler Wilcock
Comment 6
2022-11-02 10:44:29 PDT
(In reply to chris fleizach from
comment #4
)
> Comment on
attachment 463364
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=463364&action=review
> > > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:408 > > + return nextObject->nextSibling(); > > do we need to check if return nextObject->nextSibling(); == nil and then > fall down to next case?
No, because if we aren't able to compute a non-null nextSibling by this point then there is nothing left to do besides also returning nullptr. I've re-ordered the logic a bit in the latest revision to make this more clear.
Tyler Wilcock
Comment 7
2022-11-02 10:46:33 PDT
Created
attachment 463366
[details]
Patch
Andres Gonzalez
Comment 8
2022-11-02 11:32:14 PDT
(In reply to Tyler Wilcock from
comment #7
)
> Created
attachment 463366
[details]
> Patch
Don't we have a similar problem with previousSibling?
Tyler Wilcock
Comment 9
2022-11-02 11:37:11 PDT
(In reply to Andres Gonzalez from
comment #8
)
> (In reply to Tyler Wilcock from
comment #7
) > > Created
attachment 463366
[details]
> > Patch > > Don't we have a similar problem with previousSibling?
Yeah, we might need to apply the same fix to previousSibling in the future. This fix is especially important for nextSibling because it's used in AccessibilityRenderObject::addChildren, while previousSibling is not. We can re-evaluate later on.
EWS
Comment 10
2022-11-05 13:39:11 PDT
Committed
256363@main
(ade47b72cbb4): <
https://commits.webkit.org/256363@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 463366
[details]
.
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