Open Bug 1928794 Opened 1 month ago Updated 1 month ago

MathML: Characters stuck in highlighted state after selection

Categories

(Core :: MathML, defect)

Firefox 132
defect

Tracking

()

UNCONFIRMED

People

(Reporter: adam1.byrd, Unassigned)

Details

Attachments

(1 file)

Attached image MathML Selection.gif

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0

Steps to reproduce:

Added MathML to a page and selected the text with the mouse cursor. When continuing to drag the cursor and unselecting text some glyphs are left visually highlighted even though they are not logically highlighted.
https://jsfiddle.net/5hL1gmdv/3/

It seems to happen with symbols but not with typical letters. You can also see that the text color is incorrect when the highlight it in a bad state. Selecting the stuck characters then clicking somewhere else on the page to clear selection will put the selecting back in a good state. Doesn't happen on Android with touch selection or mouse selection.

Actual results:

Characters are left highlighted when they should not be.

Expected results:

The selection highlight should be removed when the text is no longer selected.

Moving to Core::MathML for now, but not sure if that's more about text selection code.

Component: Untriaged → MathML
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: