[Webkit-unassigned] [Bug 20592] The focus ring is not shown while navigating on some pages, css handling bug is possible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 22 20:24:36 PDT 2008


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





------- Comment #10 from alp at nuanti.com  2008-09-22 20:24 PDT -------
(In reply to comment #9)
> (In reply to comment #7)
> > Don't we use a special keyword for the focus ring color?  Doesn't the value of
> > that color come from the RenderTheme?
> > 
> 
> I missed the question! Yes, the color does come from RenderTheme but it's
> constant, whereas the GTK+ focus ring works best when it either uses the
> current foreground color of the context (ie. matching the color of the text),
> or otherwise contrasts with the background it's painted on. (In older
> applications, the focus ring would XOR, but still was never stuck to a single
> color.)
> 

Indeed, a little testing shows that the value of strokeColor() doesn't _always_
contrast with the background, so the technique in my patch isn't perfect but
passable. Any thoughts?


-- 
Configure bugmail: https://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