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

dialogmodaltarget attribute #834

Closed
keithamus opened this issue Jun 27, 2023 · 2 comments
Closed

dialogmodaltarget attribute #834

keithamus opened this issue Jun 27, 2023 · 2 comments

Comments

@keithamus
Copy link

Request for Mozilla Position on an Emerging Web Specification

Other information

This spec adds a dialogmodaltarget attribute to button elements. Similar to popovertarget, dialogmodaltarget takes an IDREF and calls showModal() or close() on the idref element, when the button is clicked. It also specifies the reflected dialogModalTargetElement attribute (which allows for cross-root assignment).

@smaug----
Copy link
Collaborator

Commented in whatwg/html#9456 (comment)

@zcorpan zcorpan changed the title Request for position: dialogmodaltarget attribute dialogmodaltarget attribute Jun 28, 2023
@smaug----
Copy link
Collaborator

As explained in the spec issue, we think some more generic approach would be better for this use case.

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

No branches or pull requests

2 participants