This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
+++ This bug was initially created as a clone of Bug #23298 +++ The suggested UA style sheet[1] has: dialog::backdrop { background: rgba(0,0,0,0.1); } So by default, the backdrop has height and width 0. I suspect most use cases of a modal dialog want a visible backdrop. Those authors will have to add something like: dialog::backdrop { position: fixed; top: 0; bottom: 0; left: 0; right: 0; } which is a bit cumbersome. How about adding such style to the suggested style sheet? [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#flow-content-1
Commit pushed to master at https://github.com/w3c/html https://github.com/w3c/html/commit/c7405508a1d75aaecbc5c865b051e84eb8f5cd3c [Bug 23401] r8197: Position <dialog>'s backdrop.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the Editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the Tracker Issue; or you may create a Tracker Issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: c740550 Rationale: Adopted WHATWG fix in r8197.
Commit pushed to CR at https://github.com/w3c/html https://github.com/w3c/html/commit/c7405508a1d75aaecbc5c865b051e84eb8f5cd3c [Bug 23401] r8197: Position <dialog>'s backdrop.