[Webkit-unassigned] [Bug 43818] Lots of overlapping highlights painted when selecting MathML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 6 02:26:16 PDT 2013


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





--- Comment #2 from Frédéric Wang <fred.wang at free.fr>  2013-08-06 02:25:56 PST ---
Created an attachment (id=208177)
 --> (https://bugs.webkit.org/attachment.cgi?id=208177&action=review)
testcase ::selection

(In reply to comment #1)
> I suspect this is a consequence of the implementation design to base the rendering on the existing HTML renderer. See http://ojanvafai.com/post/mathml-in-webkit for an alternative.

An idea to fix (or improve) that with the current model: try to set ::selection { background: transparent; } on anonymous renderers. As an example, I attach a testcase that removes the selection background on MathML elements (not sure the rule reaches the anonymous renderers, so that should be done at the C++ level).

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