Use cannot as one word - #45512
Merged
Merged
Conversation
husamemadH
requested review from
Josh-Cena,
bacharakis,
dipikabh,
estelle and
sideshowbarker
and removed request for
a team
September 4, 2026 19:06
Contributor
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Writes
cannotas one word in the 43 places that still spell it "can not".The repository already uses
cannotabout 1908 times, so these are the remaining outliers. They are spread across the ARIA role and attribute references, the HTMLdisabledandreadonlyattribute pages,DOMError,DOMException, several CSS property pages, and the WebExtensions and Firefox release docs.Three occurrences are deliberately left as they are:
can not only … but also …constructions, where "not" belongs to the correlative and not to "can".SyntaxError: Private fields can not be deletedquoted on the "private fields can't be deleted" error page.One further occurrence is left alone because it is a section heading on
Using deferred fetch, and renaming it would change the heading's anchor.Motivation
"Cannot" is the standard single-word spelling, and the repository is otherwise consistent about it.