Skip to content
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

Fix bcd key for HTMLDialogElement #38288

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

skyclouds2001
Copy link
Contributor

Description

for consistent, only api.HTMLDialogElement should be listed

Motivation

Additional details

Related issues and pull requests

@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Feb 22, 2025
Copy link
Contributor

github-actions bot commented Feb 22, 2025

Preview URLs

(comment last updated: 2025-02-24 16:41:21)

@skyclouds2001 skyclouds2001 marked this pull request as ready for review February 22, 2025 17:06
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner February 22, 2025 17:06
@skyclouds2001 skyclouds2001 requested review from sideshowbarker and removed request for a team February 22, 2025 17:06
@sideshowbarker sideshowbarker removed their request for review February 23, 2025 06:50
Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

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

@skyclouds2001 No, let's not do this. Instead can you please remove just api.HTMLDialogElement.requestClose, which is a duplicate.

These new events are relevant to the use of the dialog and would otherwise not be surfaced to to readers. For pragmatic reasons we choose not to duplicate the actual documentation for inherited elements but there no cost to us in doing so for this very relevant compatibility information.

EDIT: Or to put it another way, the consistency in this case does not help us or our readers.

@github-actions github-actions bot added size/xs [PR only] 0-5 LoC changed and removed size/s [PR only] 6-50 LoC changed labels Feb 24, 2025
Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

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

Thanks very much @skyclouds2001 !

@hamishwillee hamishwillee merged commit cfa2f08 into mdn:main Feb 24, 2025
8 checks passed
@skyclouds2001 skyclouds2001 deleted the HTMLDialogElement branch February 25, 2025 15:29
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/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants