Skip to content

Fix PerformanceMeasure.detail wording and other small typos - #46049

Merged
Josh-Cena merged 2 commits into
mdn:mainfrom
kumability:fix-grammar-and-terms
Oct 8, 2026
Merged

Josh-Cena merged 2 commits into
mdn:mainfrom
kumability:fix-grammar-and-terms

Conversation

@kumability

Copy link
Copy Markdown
Contributor

Description

Fixes 6 small wording typos across 5 pages. Commits are split by kind:

  1. PerformanceMeasure.detail (2):
    • "metadata that was included in the mark upon construction" → "included in the measure". In the User Timing spec, PerformanceMeasureOptions.detail is "Metadata to be included in the measure." (the "mark" wording belongs to PerformanceMarkOptions.detail). This sentence appears to have been copied from the PerformanceMark.detail page.
    • "from markOptions of performance.measure()" → "from measureOptions", which is the parameter name on the Performance.measure() page. markOptions is the parameter of performance.mark().
  2. Grammar and wording (4):
    • Character escape: a missing comma between `\.` and `\*` in a list where every other item is comma-separated (as in the Syntax section of the same page)
    • VTTCue.positionAlign: "text-alignment" → "text alignment", as written five other times in the same two list items and in the WebVTT spec
    • Glossary: HTTP header: "a response can use header to" → "a response can use headers to", matching "a request message can use headers to" earlier in the same sentence
    • Server-side web frameworks: "As your website becomes more successful then you may find" → "As your website becomes more successful, you may find"

Motivation

The PerformanceMeasure.detail page described the wrong object and the wrong parameter. The other four are small typos that make the sentences harder to read.

Additional details

I checked the spec text and the related MDN pages myself, and that no other open PR touches these files.

Related issues and pull requests

Same kind of fixes as #46046 and #46047.

@kumability
kumability requested review from a team as code owners October 8, 2026 11:43
@kumability
kumability requested review from Josh-Cena, dipikabh and sideshowbarker and removed request for a team October 8, 2026 11:43
@github-actions github-actions Bot added Content:WebAPI Web API docs Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:Glossary Glossary entries size/s [PR only] 6-50 LoC changed labels Oct 8, 2026

@Josh-Cena Josh-Cena 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.

Good catches, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Glossary Glossary entries Content:JS JavaScript docs Content:Learn Learning area docs (outside of one of the Learn:* subtags) Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants