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

@ -233,7 +233,7 @@ TextEditor::InsertFromDrop(nsIDOMEvent* aDropEvent)
// Only the HTMLEditor::FindUserSelectAllNode returns a node.
nsCOMPtr<nsIDOMNode> userSelectNode = FindUserSelectAllNode(newSelectionParent);
if (userSelectNode) {
// The drop is happening over a "-moz-user-select: all"
// The drop is happening over a "user-select: all"
// subtree so make sure the content we insert goes before
// the root of the subtree.
//

View file

@ -44,7 +44,7 @@ interface nsIContentFilter : nsISupports
* approximation since the editor may need to adjust it if it deletes
* the selection as part of the event and later determines that insertion
* point is an empty container which should also be removed (or in other
* scenarios such as -moz-user-select:none).
* scenarios such as user-select:none).
*
* In some scenarios the selection will be deleted. If callers choose
* to adjust the insertion point, they should be careful that the insertion