[Webkit-unassigned] [Bug 18794] -[WebHTMLView attributedSubstringFromRange:] result offset by one character

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 15 04:14:52 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18794





------- Comment #7 from com-webkit at sabi.net  2008-05-15 04:14 PDT -------
(In reply to comment #6)
> The only reason is that it's hard - and often unclear what behavior would be
> correct, particularly when rendered text is significantly different than DOM
> (e.g. because of CSS transformations).

Yeah, I see how that could be painful.

A few of the offset-selection or extraneous-newline cases I've noticed so far
seem to be relatively straightforward with no CSS or script-generated content
involved.  I have a list of other URLs to investigate (some have regressed
since Safari 3.1.1, such as http://blog.michaeltrier.com/, although that one
goes away when I disable CSS) but haven't tried to minimize any of them because
I wanted to see what happened with this bug.

Should I try to compile WebKit with the patch in bug 15680, and go from there?
What information, code, test cases, etc. will help? I'm obviously not going to
turn into a WebKit expert overnight but am certainly willing to invest some
time into it.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list