Bug 133047 - REGRESSION(r163712): [GTK] Misspelling and grammar underline marks are no longer drawn
Summary: REGRESSION(r163712): [GTK] Misspelling and grammar underline marks are no lon...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, Regression
Depends on:
Blocks:
 
Reported: 2014-05-18 03:06 PDT by Carlos Garcia Campos
Modified: 2014-05-22 09:23 PDT (History)
4 users (show)

See Also:


Attachments
Patch (6.20 KB, patch)
2014-05-22 07:01 PDT, Carlos Garcia Campos
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2014-05-18 03:06:10 PDT
In epiphany I can see the suggestions in the context menu, so it seems the spellchecker is working, but the document marks are not correctly drawn. It works with WebKitGTK+ 2.4.x.
Comment 1 Alberto Garcia 2014-05-20 00:26:44 PDT
I'll take a look
Comment 2 Alberto Garcia 2014-05-20 04:48:06 PDT
The regression was introduced in r163712:

    Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
    https://bugs.webkit.org/show_bug.cgi?id=128233
Comment 3 Carlos Garcia Campos 2014-05-22 07:01:29 PDT
Created attachment 231883 [details]
Patch

I've also changed the whole loop, using a for loop instead, so that we can use the current condition but to continue the loop. I think it improves the readability.
Comment 4 Carlos Garcia Campos 2014-05-22 09:23:43 PDT
Committed r169203: <http://trac.webkit.org/changeset/169203>