Bug 281587

Summary: selection.isCollapsed returns true for non-collapsed selection in Shadow Root
Product: WebKit Reporter: Di <dizhangg>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Di
Reported 2024-10-16 10:24:41 PDT
Selection in Shadow tree is not collapsed, yet selection.isCollapsed return true. Example URL: https://codepen.io/Di-Zhang/pen/jOjdeoX WPT: https://wpt.fyi/results/selection/shadow-dom/tentative/Selection-isCollapsed.html?label=experimental&label=master&aligned Note: Chromium is fixing this bug in an upcoming release. We wanted to file a bug so Webkit is aware, thanks.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-10-23 10:26:24 PDT
Note You need to log in before you can comment on or make changes to this bug.