[Webkit-unassigned] [Bug 50398] Android would like to disable rounding hacks for TextRuns in text controls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 4 12:32:56 PST 2011


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





--- Comment #22 from scroggo at google.com  2011-01-04 12:32:55 PST ---
(In reply to comment #20)
> I think the best way to accomplish this is to actually add a new CSS property for it.... probably something like -webkit-text-rounding: auto | integral | subpixel.  Then you can set that in your Android UA sheet for text controls.
> 
> The WebCore code can then be patched to just respect the CSS property.
> 
> Not sure if others agree with this approach, but that's probably how I would do it.  The CSS property support could even just be ifdefed out for platforms that don't care (similar to the Dashboard region CSS property).

Thanks for the advice, Dave.

(In reply to comment #21)
> I am not sure I agree with introducing a CSS property that inevitably results in rendering errors, but I guess it’s fine if ports that don’t want the broken behavior can disable it.

What "rendering errors" will I run into?  I know there will be errors when text changes styles, for links etc, but I am only trying to remove the rounding hacks inside text controls (<input> and <textarea>), where there won't be any links.  Am I missing something?

Thanks,

-- 
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