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+

Description Shinya Kawanaka 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.
Comment 1 Shinya Kawanaka 2012-03-26 02:24:33 PDT
Created attachment 133753 [details]
Repro
Comment 2 Shinya Kawanaka 2012-03-26 02:38:44 PDT
Created attachment 133755 [details]
Patch
Comment 3 Shinya Kawanaka 2012-03-26 19:43:16 PDT
Committed r112197: <http://trac.webkit.org/changeset/112197>