Bug 242779 - AX: display:contents elements are inserted in the wrong position when they have inline renderer siblings
Summary: AX: display:contents elements are inserted in the wrong position when they ha...
Status: RESOLVED DUPLICATE of bug 243373
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-14 18:01 PDT by Tyler Wilcock
Modified: 2022-08-05 15:39 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Wilcock 2022-07-14 18:01:08 PDT
Inline elements are rolled up into a single anonymous block, which breaks our heuristic for inserting display:contents elements to the correct position in AccessibilityRenderObject::addNodeOnlyChildren().

Repro case: https://codepen.io/aardrian/pen/WNvoOpM
Comment 1 Radar WebKit Bug Importer 2022-07-14 18:01:20 PDT
<rdar://problem/97046233>
Comment 2 Tyler Wilcock 2022-08-05 15:39:50 PDT
Fixed by https://bugs.webkit.org/show_bug.cgi?id=243373.

*** This bug has been marked as a duplicate of bug 243373 ***