Repository navigation
Fix unbalanced and misplaced parentheses in Web API docs - #46013
Merged
Merged
Conversation
kumability
requested review from
sideshowbarker
and removed request for
a team
October 7, 2026 09:30
Contributor
This was referenced Oct 8, 2026
Merged
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
Fixes 25 unbalanced or misplaced parentheses across 23 Web API pages: a missing
(or), an extra one, or a)that ended up inside inline code (e.g.(`currentRotation)`→(`currentRotation`)).All changes
AudioBufferSourceNode/startDocument/getSelectionElement/ariaHiddenFile_API/Using_files_from_web_applicationsIDBTransactionMediaRecorderMediaStream/activeMediaStreamTrackAudioSourceNode/MediaStreamTrackAudioSourceNodePaintWorkletGlobalScope/registerPaintPaymentResponse/retryPerformanceMeasure/detailPointer_eventsReadableStreamBYOBReaderTouch_events/Multi-touch_interactionTrackEventWeb_Audio_API/Controlling_multiple_parameters_with_ConstantSourceNodeWeb_Audio_API/Controlling_multiple_parameters_with_ConstantSourceNodeWeb_Audio_API/Simple_synthWebGL_API/Basic_2D_animation_exampleWebGL_API/Basic_2D_animation_exampleWebGL_API/WebGL_best_practicesWebVR_API/Using_the_WebVR_APIWebXR_Device_API/Bounded_reference_spacesWebXR_Device_API/TargetingXRViewMotivation
These make sentences harder to read, especially when it's unclear where an aside ends.
Additional details
For each one, I read the whole sentence to decide whether a paren was missing or extra, and checked the git history where the intent wasn't obvious. In Pointer events, the unclosed
(when a pointercancel event occursis the main point of the sentence rather than an aside, so I removed the(instead of closing it.No open PR touches these files.
Related issues and pull requests
Same kind of fixes as #45998 (CSS) and #46012 (Learn).