Bug 8855 - Assertion failure in Position::upstream() when text-transform modifies text length
Summary: Assertion failure in Position::upstream() when text-transform modifies text l...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2006-05-11 11:30 PDT by Alexey Proskuryakov
Modified: 2024-03-07 14:16 PST (History)
6 users (show)

See Also:


Attachments
test case (294 bytes, text/html)
2006-05-11 11:31 PDT, Alexey Proskuryakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2006-05-11 11:30:53 PDT
Steps to reproduce:
1. Open the attached test case in a debug build of WebKit.
2. Click anywhere below the text.

Results:
/Users/ap/WebKit/WebCore/dom/Position.cpp:341: failed assertion `currentOffset >= renderer->caretMaxOffset()'

This is of course highly related to the problem of non-selectable generated content.
Comment 1 Alexey Proskuryakov 2006-05-11 11:31:13 PDT
Created attachment 8246 [details]
test case
Comment 2 mitz 2009-11-16 16:14:52 PST
See also bug 31563
Comment 3 Ahmad Saleem 2023-02-22 14:56:51 PST
I am not able to reproduce this assert in WebKit ToT based of 260689@main using Mini-Browser in WK2 window. Same is with WK1 window.

Can we close this?
Comment 4 Ahmad Saleem 2023-02-22 14:57:10 PST
Just to update - I am using DEBUG build.
Comment 5 Ahmad Saleem 2024-03-07 14:16:26 PST
Unable to reproduce using Debug WebKit ToT build (275804@main).