Bug 254966

Summary: designMode should not affect shadow tree
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=255182
Bug Depends on:    
Bug Blocks: 254957    

Description Ryosuke Niwa 2023-04-03 21:29:35 PDT
Even when the document is in design mode, its shadow trees shouldn't be considered as editable.
There are a few test cases failing in editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html because of this.
Comment 1 Ryosuke Niwa 2023-04-03 21:34:06 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12361
Comment 2 EWS 2023-04-03 22:31:23 PDT
Committed 262563@main (155c4f42d9ef): <https://commits.webkit.org/262563@main>

Reviewed commits have been landed. Closing PR #12361 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-04-03 22:32:16 PDT
<rdar://problem/107595174>