[Bug 23401] New: dialog::backdrop should be visible by default

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23401

            Bug ID: 23401
           Summary: dialog::backdrop should be visible by default
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: eoconnor@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: falken@chromium.org, ian@hixie.ch, mike@w3.org,
                    public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org, simonp@opera.com
        Depends on: 23298

+++ 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 30 September 2013 18:47:35 UTC