Bug 82177 - Triggers assertion if dragging from outside of <meter> in a shadow tree to inside of it
Summary: Triggers assertion if dragging from outside of <meter> in a shadow tree to in...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Shinya Kawanaka
URL:
Keywords:
Depends on: 82308
Blocks: 82021
  Show dependency treegraph
 
Reported: 2012-03-26 02:16 PDT by Shinya Kawanaka
Modified: 2012-03-27 01:48 PDT (History)
6 users (show)

See Also:


Attachments
Repro (1005 bytes, text/html)
2012-03-26 02:24 PDT, Shinya Kawanaka
no flags Details
Patch (4.83 KB, patch)
2012-03-26 02:38 PDT, Shinya Kawanaka
dglazkov: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>