Bug 82177

Summary: Triggers assertion if dragging from outside of <meter> in a shadow tree to inside of it
Product: WebKit Reporter: Shinya Kawanaka <shinyak>
Component: HTML EditingAssignee: Shinya Kawanaka <shinyak>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dominicc, hayato, morrita, rniwa, rolandsteiner
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 82308    
Bug Blocks: 82021    
Attachments:
Description Flags
Repro
none
Patch dglazkov: review+

Shinya Kawanaka
Reported 2012-03-26 02:16:35 PDT
Attached the repro. VisibleSelection::adjustSelectionToAvoidCrossingShadowBoundaries seems wrong. Since there is no last position in <meter>, we cannot take lastPositionInNode(<meter>). Maybe we should use lastPositionInOrAfterNode() instead.
Attachments
Repro (1005 bytes, text/html)
2012-03-26 02:24 PDT, Shinya Kawanaka
no flags
Patch (4.83 KB, patch)
2012-03-26 02:38 PDT, Shinya Kawanaka
dglazkov: review+
Shinya Kawanaka
Comment 1 2012-03-26 02:24:33 PDT
Shinya Kawanaka
Comment 2 2012-03-26 02:38:44 PDT
Shinya Kawanaka
Comment 3 2012-03-26 19:43:16 PDT
Note You need to log in before you can comment on or make changes to this bug.