https://bugzilla.wikimedia.org/show_bug.cgi?id=58998
Web browser: --- Bug ID: 58998 Summary: document.activeElement can change unexpectedly while typing in VE editor Product: VisualEditor Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: ContentEditable Assignee: da...@sheetmusic.org.uk Reporter: jh...@wikimedia.org CC: da...@sheetmusic.org.uk, i...@wikia-inc.com, jforres...@wikimedia.org, jh...@wikimedia.org, krinklem...@gmail.com, or...@framezero.com, ryasm...@wikimedia.org Classification: Unclassified Mobile Platform: --- After observing some strange results from an automated Ruby test for cursor movement in the Visual Editor CE surface, we did some digging, and it appears that while a user is typing away happily and making and edit, the document.activeElement flip-flop several times. I'm assuming this is unintentional behavior, thus the bug ticket. Repro steps: 1) Visit this page: https://test2.wikipedia.org/wiki/User:Selenium_user/cursor_test_page_chromedriver_bug 2) Click into VE editing mode. 3) With cursor placed immediately in front of the letter "a" in the word "after", press the right arrow key several times in succession. 4) When your right-arrow-clicking brings you to the reference, the document.activeElement switches from "ve-ce-documentNode ve-ce-branchNode noime" to "ve-ce-surface-paste" I'm assuming that when the user is typing in the "editing box", the document.activeElement should not be changing. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l