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@chromium.org>
Component: HTML EditingAssignee: Shinya Kawanaka <shinyak@chromium.org>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov@chromium.org, dominicc@chromium.org, hayato@chromium.org, morrita@google.com, rniwa@webkit.org, rolandsteiner@chromium.org
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 From 2012-03-26 02:16:35 PST
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 From 2012-03-26 02:24:33 PST -------
Created an attachment (id=133753) [details]
Repro
------- Comment #2 From 2012-03-26 02:38:44 PST -------
Created an attachment (id=133755) [details]
Patch
------- Comment #3 From 2012-03-26 19:43:16 PST -------
Committed r112197: <http://trac.webkit.org/changeset/112197>