Skip to content

Use cannot as one word - #45512

Merged
pepelsbey merged 1 commit into
mdn:mainfrom
husamemadH:fix-cannot
Sep 5, 2026
Merged

Use cannot as one word#45512
pepelsbey merged 1 commit into
mdn:mainfrom
husamemadH:fix-cannot

Conversation

@husamemadH

Copy link
Copy Markdown
Contributor

Description

Writes cannot as one word in the 43 places that still spell it "can not".

The repository already uses cannot about 1908 times, so these are the remaining outliers. They are spread across the ARIA role and attribute references, the HTML disabled and readonly attribute 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".
  • The verbatim V8 message SyntaxError: Private fields can not be deleted quoted on the "private fields can't be deleted" error page.
  • The external article title "A CDN that can not XSS you: Using Subresource Integrity" linked from the SRI 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.

@husamemadH
husamemadH requested review from a team as code owners September 4, 2026 19:06
@husamemadH
husamemadH requested review from Josh-Cena, bacharakis, dipikabh, estelle and sideshowbarker and removed request for a team September 4, 2026 19:06
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs Content:HTML Hypertext Markup Language docs Content:WebExt WebExtensions docs Content:WebAPI Web API docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:Accessibility Accessibility docs Content:Glossary Glossary entries Content:WebDriver WebDriver docs Content:Games Games docs labels Sep 4, 2026
@github-actions github-actions Bot added Content:Firefox Content in the Mozilla/Firefox subtree size/m [PR only] 51-500 LoC changed labels Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor
Preview URLs (35 pages)
Flaws (17)

Note! 32 documents with no flaws that don't need to be listed. 🎉

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/API/CSSPrimitiveValue
Title: CSSPrimitiveValue
Flaw count: 4

  • macros:
    • Macro domxref produces link /en-US/docs/Web/API/RGBColor which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/Counter which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/RGBColor which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/Rect which doesn't resolve

URL: /en-US/docs/Web/API/DOMError
Title: DOMError
Flaw count: 2

  • macros:
    • Macro domxref produces link /en-US/docs/Web/API/DOMError/name which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/DOMError/message which doesn't resolve

URL: /en-US/docs/Web/WebDriver/Reference/Capabilities
Title: WebDriver capabilities
Flaw count: 11

  • broken_links:
    • Link /en-US/docs/Web/WebDriver/Reference/Classic/Capabilities/setWindowRect doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Capabilities/browserName doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Capabilities/browserVersion doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Capabilities/platformName doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Capabilities/pageLoadStrategy doesn't resolve
    • and 6 more flaws omitted
External URLs (2)

URL: /en-US/docs/Mozilla/Firefox/Releases/36
Title: Firefox 36 release notes for developers

@pepelsbey pepelsbey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you 🙂

@pepelsbey
pepelsbey merged commit c9f3d85 into mdn:main Sep 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Accessibility Accessibility docs Content:CSS Cascading Style Sheets docs Content:Firefox Content in the Mozilla/Firefox subtree Content:Games Games docs Content:Glossary Glossary entries Content:HTML Hypertext Markup Language docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:WebAPI Web API docs Content:WebDriver WebDriver docs Content:WebExt WebExtensions docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants