This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23401 - dialog::backdrop should be visible by default
Summary: dialog::backdrop should be visible by default
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Edward O'Connor
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on: 23298
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-30 18:47 UTC by Edward O'Connor
Modified: 2014-01-16 15:11 UTC (History)
6 users (show)

See Also:


Attachments

Description Edward O'Connor 2013-09-30 18:47:34 UTC
+++ 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
Comment 1 github bugzilla bot 2013-09-30 18:49:29 UTC
Commit pushed to master at https://github.com/w3c/html

https://github.com/w3c/html/commit/c7405508a1d75aaecbc5c865b051e84eb8f5cd3c
[Bug 23401] r8197: Position <dialog>'s backdrop.
Comment 2 Edward O'Connor 2013-09-30 18:50:08 UTC
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.
Comment 3 github bugzilla bot 2014-01-16 15:11:12 UTC
Commit pushed to CR at https://github.com/w3c/html

https://github.com/w3c/html/commit/c7405508a1d75aaecbc5c865b051e84eb8f5cd3c
[Bug 23401] r8197: Position <dialog>'s backdrop.