[Webkit-unassigned] [Bug 139480] New: Caret navigation does not work well with MathML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 10 07:21:12 PST 2014


            Bug ID: 139480
           Summary: Caret navigation does not work well with MathML
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: MathML
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: alex at igalia.com, jdiggs at igalia.com,
                    mrobinson at webkit.org

Created attachment 243015
  --> https://bugs.webkit.org/attachment.cgi?id=243015&action=review

In the attached testcase:

- enable caret navigation
- place the caret on the first "1" (MathML section)
- press the down arrow key

Expected result: the caret should move to the "3" on the next line
Actual result: the caret moves to the "2" on the same line.

This is probably because each MathML token element contains an anonymous block flexbox, so the caret navigation code treats them as if they were on different line of text. You can compare with what happens for HTML.

(another problem is that the size of the caret in MathML may be very large compared to the actual text, because of all the anonymous flexboxes used for layout)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141210/19cd1969/attachment-0002.html>

More information about the webkit-unassigned mailing list