Skip to content

Add optional annotation to parameters in FontFaceSet methods#44352

Open
Juneezee wants to merge 1 commit into
mdn:mainfrom
Juneezee:docs/fontfaceset-optional-parameters
Open

Add optional annotation to parameters in FontFaceSet methods#44352
Juneezee wants to merge 1 commit into
mdn:mainfrom
Juneezee:docs/fontfaceset-optional-parameters

Conversation

@Juneezee
Copy link
Copy Markdown

@Juneezee Juneezee commented Jun 4, 2026

Description

This PR updates the following pages to include the inline Optional label for their optional parameters:

Motivation

Adding the Optional label improves readability, prevents confusion about which arguments are strictly required, and maintains consistency with the rest of the MDN Web API reference pages.

Additional details

Related issues and pull requests

@Juneezee Juneezee requested a review from a team as a code owner June 4, 2026 04:58
@Juneezee Juneezee requested review from chrisdavidmills and removed request for a team June 4, 2026 04:58
@github-actions github-actions Bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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