Created an attachment (id=421217) Mochitest for this bug.
This test moves the cursor over a textarea and synthesizes a keyboard-style oncontextmenu. It then checks that the words returned by rangeParent are the correct ones.
Fails without the fix, succeeds with the fix.
Created an attachment (id=421217)
Mochitest for this bug.
This test moves the cursor over a textarea and synthesizes a keyboard-style oncontextmenu. It then checks that the words returned by rangeParent are the correct ones.
Fails without the fix, succeeds with the fix.