WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
43818
Lots of overlapping highlights painted when selecting MathML
https://bugs.webkit.org/show_bug.cgi?id=43818
Summary
Lots of overlapping highlights painted when selecting MathML
David Kilzer (:ddkilzer)
Reported
2010-08-10 17:18:07 PDT
Created
attachment 64056
[details]
Test case * SUMMARY When selecting MathML, the selection highlights overlap quite a bit such that the formulae aren't readable after selecting them. * STEPS TO REPRODUCE 1. Open the test case in a WebKit nightly build. 2. Hit Cmd-A to select all text on the page. * RESULTS Selection highlights overlap on many of the formulae so that it's impossible to read them while highlighted. * REGRESSION N/A
Attachments
Test case
(6.80 KB, application/xhtml+xml)
2010-08-10 17:18 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
testcase ::selection
(3.16 KB, text/html)
2013-08-06 02:25 PDT
,
Frédéric Wang (:fredw)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Frédéric Wang (:fredw)
Comment 1
2013-05-04 22:48:45 PDT
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.
Frédéric Wang (:fredw)
Comment 2
2013-08-06 02:25:56 PDT
Created
attachment 208177
[details]
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).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug