Bug 314066

Summary: Implement moveBefore() moving steps to handle internal states
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 26   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 281223    

Luke Warlow
Reported 2026-05-05 04:38:58 PDT
We already mostly account for name map and id map, there's a number of other states that need to be handled, such as image usemap. There's a long list I'm aware of and probably even more to handle too. Importantly we need to add test coverage over these more internal state related things as it's quite lacking.
Attachments
Luke Warlow
Comment 1 2026-05-05 04:40:43 PDT
- StateFlag::SelfOrPrecedingNodesAffectDirAuto - StateFlag::ContainsSelectionEndPoint - Relevant values of NodeStyleFlag - fields on RareDataBitFields like usesEffectiveTextDirection and effectiveTextDirection. among other things. - custom element registries need accounting for. - usemap for image element - EventTargetFlag::IsInShadowTree
Radar WebKit Bug Importer
Comment 2 2026-05-12 04:39:10 PDT
Note You need to log in before you can comment on or make changes to this bug.