<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23401</bug_id>
          
          <creation_ts>2013-09-30 18:47:34 +0000</creation_ts>
          <short_desc>dialog::backdrop should be visible by default</short_desc>
          <delta_ts>2014-01-16 15:11:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>23298</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Edward O&apos;Connor">eoconnor</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>falken</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94030</commentid>
    <comment_count>0</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-09-30 18:47:34 +0000</bug_when>
    <thetext>+++ 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94031</commentid>
    <comment_count>1</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2013-09-30 18:49:29 +0000</bug_when>
    <thetext>Commit pushed to master at https://github.com/w3c/html

https://github.com/w3c/html/commit/c7405508a1d75aaecbc5c865b051e84eb8f5cd3c
[Bug 23401] r8197: Position &lt;dialog&gt;&apos;s backdrop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94032</commentid>
    <comment_count>2</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-09-30 18:50:08 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98602</commentid>
    <comment_count>3</comment_count>
    <who name="github bugzilla bot">sideshowbarker+gitzilla</who>
    <bug_when>2014-01-16 15:11:12 +0000</bug_when>
    <thetext>Commit pushed to CR at https://github.com/w3c/html

https://github.com/w3c/html/commit/c7405508a1d75aaecbc5c865b051e84eb8f5cd3c
[Bug 23401] r8197: Position &lt;dialog&gt;&apos;s backdrop.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>