[Webkit-unassigned] [Bug 49508] RTL: Caret can paint over letters when in the end of a line in textareas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 15 13:08:11 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=49508





--- Comment #31 from Xiaomei Ji <xji at chromium.org>  2011-04-15 13:08:10 PST ---
(In reply to comment #30)
> > I have a couple of suggestions:
> > 1. Use a modified copy of one of the SVG fonts already in the LayoutTests directory, for example, LayoutTests/svg/custom/resources/SVGFreeSans.svg with a few glyph elements added for RTL characters (by duplicating existing glyphs)
> > 2. Use a generic family (e.g. sans-serif) and have platform-dependent results (I am not sure what in the test requires it to use the same font on all platforms).
> 
> The test itself checks whether the length of the text is the same as the difference between first caret rect and last caret rect.
> 
> It is expected to pass in all platforms.
> 
> But there is one case that failed in Mac (http://webkit.org/b/56854). When there is failure, the length of the text and the difference of caret range are printed out, then, the number will be different in different platforms.
> 
> Actually, looks like even with the same font and same font size, the length computed in different platforms might be different (I tried safari in snow-leopard and chromium in linux using DroidSansHebrew, the length computed are slightly different).

I think I will use sans-serif. 
Another question as to the failure in Mac, should I check in the failed expectation? Or I should split the test and mark the failed test as skipped in Mac? (there is bug filed: http://webkit.org/b/56854).

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



More information about the webkit-unassigned mailing list