Skip to content

Request for position: dialogmodaltarget attribute #213

@keithamus

Description

@keithamus

WebKittens

@annevk @rniwa

Title of the spec

HTML dialogmodaltarget attribute

URL to the spec

whatwg/html#9456

URL to the spec's repository

whatwg/html#9456

Issue Tracker URL

No response

Explainer URL

whatwg/html#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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    from: otherProposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.proposal withdrawntopic: htmlSpec relates to HTML (Hypertext Markup Language)venue: WHATWG HTML Workstream

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions