Issue #2106 - Clean-up: Un-prefix -moz-user-select in Comments

This commit is contained in:
Andy 2025-07-07 10:46:13 -07:00 • committed by roytam1
commit b11affbdf3
7 changed files with 15 additions and 15 deletions

View file

@ -139,7 +139,7 @@ public:
/**
* Mark this range as being generated or not.
* Currently it is used for marking ranges that are created when splitting up
* a range to exclude a -moz-user-select:none region.
* a range to exclude a user-select:none region.
* @see Selection::AddItem
* @see ExcludeNonSelectableNodes
*/
@ -354,13 +354,13 @@ public:
bool aClampToEdge, bool aFlushLayout);
/**
* Scan this range for -moz-user-select:none nodes and split it up into
* Scan this range for user-select:none nodes and split it up into
* multiple ranges to exclude those nodes. The resulting ranges are put
* in aOutRanges. If no -moz-user-select:none node is found in the range
* in aOutRanges. If no user-select:none node is found in the range
* then |this| is unmodified and is the only range in aOutRanges.
* Otherwise, |this| will be modified so that it ends before the first
* -moz-user-select:none node and additional ranges may also be created.
* If all nodes in the range are -moz-user-select:none then aOutRanges
* user-select:none node and additional ranges may also be created.
* If all nodes in the range are user-select:none then aOutRanges
* will be empty.
* @param aOutRanges the resulting set of ranges
*/

View file

@ -1,7 +1,7 @@
<!DOCTYPE>
<html>
<head>
<title>-moz-user-select selection tests</title>
<title>user-select selection tests</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
@ -249,7 +249,7 @@ function test()
// ================== shift+click tests =================
// ======================================================
// test extending a selection that starts in a -moz-user-select:none node
// test extending a selection that starts in a user-select:none node
clear();
e = document.getElementById('test2');
init([[0,0,0,1]], e);
@ -261,7 +261,7 @@ function test()
checkRanges([[-1,1,1,10]], e);
doneTest(e);
// test extending a selection that end in a -moz-user-select:none node
// test extending a selection that end in a user-select:none node
clear();
e = document.getElementById('test3');
init([[1,0,1,1]], e);