WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
242 stars 19 forks source link

Request for position: `dialogmodaltarget` attribute #213

Closed keithamus closed 1 year ago

keithamus commented 1 year ago

WebKittens

@annevk @rniwa

Title of the spec

HTML dialogmodaltarget attribute

URL to the spec

https://github.com/whatwg/html/pull/9456

URL to the spec's repository

https://github.com/whatwg/html/pull/9456

Issue Tracker URL

No response

Explainer URL

https://github.com/whatwg/html/pull/9456

TAG Design Review URL

No response

Mozilla standards-positions issue URL

No response

WebKit Bugzilla URL

https://bugs.webkit.org/show_bug.cgi?id=258562

Radar URL

No response

Description

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).

nt1m commented 1 year ago

This proposal has been deprecated by the invoker buttons proposal, closing.