forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1715603 - part 1: Don't extend selection into a link r=edgar
If middle button click with `Shift` key occurs, Chrome and Safari extend the selection in most cases. However, if the clicked position is in a link, Chrome does: * If editable, collapse selection into the link instead of extending selection. * If not editable, not extending selection and open tabs. We should follow this behavior for both backward compatibility and web-compat. Differential Revision: https://phabricator.services.mozilla.com/D119252
- Loading branch information
1 parent
bbfaac5
commit 1125b62
Showing
6 changed files
with
114 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...election/contenteditable/modifying-selection-with-primary-mouse-button.tentative.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
[modifying-selection-with-primary-mouse-button.tentative.html] | ||
[Primary click should move caret in an editable element] | ||
expected: | ||
if not webrender and (os == "linux") and not fission and not debug and (processor == "x86_64"): [FAIL, PASS] | ||
FAIL | ||
|
||
[Shift + Primary click should extend the selection] | ||
expected: | ||
if (os == "linux") and not fission and (processor == "x86_64") and debug and webrender and not swgl: [PASS, FAIL] | ||
if (os == "linux") and not fission and (processor == "x86_64") and not debug and not webrender: [PASS, FAIL] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters