Bug 63668 - REGRESSION(r89952): r89952 added a wrong assertion in visible_units.cpp
Summary: REGRESSION(r89952): r89952 added a wrong assertion in visible_units.cpp
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: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 16:08 PDT by Ryosuke Niwa
Modified: 2011-06-29 16:45 PDT (History)
0 users

See Also:


Attachments
Patch (1.25 KB, patch)
2011-06-29 16:13 PDT, Ryosuke Niwa
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2011-06-29 16:08:32 PDT
820	    if (type == Position::PositionIsOffsetInAnchor) { 
821	        ASSERT(type != Position::PositionIsOffsetInAnchor || !offset); 

should be

820	    if (type == Position::PositionIsOffsetInAnchor) { 
821	        ASSERT(type == Position::PositionIsOffsetInAnchor || !offset); 

instead.

Thanks Justin for finding this!
Comment 1 Ryosuke Niwa 2011-06-29 16:13:02 PDT
Created attachment 99171 [details]
Patch
Comment 2 Ryosuke Niwa 2011-06-29 16:45:57 PDT
Committed r90064: <http://trac.webkit.org/changeset/90064>