Unprefix -moz-read-write / -moz-read-only

This commit is contained in:
Andy 2025-06-29 02:10:26 -07:00 committed by roytam1
commit 4cc014cb6b
25 changed files with 75 additions and 75 deletions

View file

@ -406,7 +406,7 @@ HTMLEditor::FindSelectionRoot(nsINode* aNode)
// If the content is in read-write state but is not editable itself,
// return it as the selection root.
if (content->IsElement() &&
content->AsElement()->State().HasState(NS_EVENT_STATE_MOZ_READWRITE)) {
content->AsElement()->State().HasState(NS_EVENT_STATE_READWRITE)) {
return content.forget();
}
return nullptr;