-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prose and meta-docs for [LegacyNullToEmptyString] #28213
Conversation
...ting_guidelines/howto/write_an_api_reference/information_contained_in_a_webidl_file/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/canvasrenderingcontext2d/createpattern/index.md
Outdated
Show resolved
Hide resolved
...ting_guidelines/howto/write_an_api_reference/information_contained_in_a_webidl_file/index.md
Outdated
Show resolved
Hide resolved
All looks good to me! Agree with @wbamberg suggestions and one nit :) |
@teoli2003 , are you coming back to this, or should we close it for now? |
Hi @teoli2003 shall we close this for now? |
...ting_guidelines/howto/write_an_api_reference/information_contained_in_a_webidl_file/index.md
Outdated
Show resolved
Hide resolved
…e/information_contained_in_a_webidl_file/index.md Co-authored-by: Ruth John <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…e/information_contained_in_a_webidl_file/index.md
20f91aa
to
33a322b
Compare
I have fixed all open points and rebased. Let's ask for a re-review. |
...ting_guidelines/howto/write_an_api_reference/information_contained_in_a_webidl_file/index.md
Outdated
Show resolved
Hide resolved
This pull request has merge conflicts that must be resolved before it can be merged. |
Co-authored-by: Joshua Chen <[email protected]>
Co-authored-by: Joshua Chen <[email protected]>
I'm open to merging this if no other feedback is given before end of week. |
...-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md
Outdated
Show resolved
Hide resolved
Going to merge now. Thanks everyone! |
Description
This PR adds relevant information to existing MDN pages about properties or method parameters prefixed with the WebIDL
[LegacyNullToEmptyString]
.Motivation
This is part of openwebdocs/project#159 where we want to uniformize and add more information stored in WebIDLs files. Standardizing them makes them easier to understand and MDN Web docs articles more precise.
Additional details
What does this extended attribute mean?
This extended attribute alters how
null
values are converted to a string. The standard way is to convertnull
to the string"null"
. When this extended attribute is present, thenull
object is converted to an empty string (""
).What does this PR do?
null
value, with a tiny inline example.null
is passed.Related issues and pull requests
None.