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 24718 - <dialog>: we should add a showWithoutFocus() method to <dialog> for cases where you don't want it focused
Summary: <dialog>: we should add a showWithoutFocus() method to <dialog> for cases whe...
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other All
: P4 enhancement
Target Milestone: Needs Impl Interest
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 01:26 UTC by contributor
Modified: 2016-12-13 14:10 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-02-19 01:26:05 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#dom-dialog-show
Complete: http://www.whatwg.org/c#dom-dialog-show
Referrer: 

Comment:
We should make <dialog>.show() focus the dialog the same as showModalDialog(),
and should probably add a showWithoutFocus() method to <dialog> for cases
where you don't want it focused

Posted from: 2620:0:1000:167c:b1bc:1289:55f0:5f5e by ian@hixie.ch
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1809.0 Safari/537.36
Comment 1 contributor 2014-02-20 22:49:14 UTC
Checked in as WHATWG revision r8487.
Check-in comment: Focus the dialog for dialog.show() as well.
http://html5.org/tools/web-apps-tracker?from=8486&to=8487
Comment 2 Ian 'Hixie' Hickson 2014-09-29 20:06:22 UTC
Definitely not adding this until <dialog> and the new focus mechanism are widely implemented, if ever.
Comment 3 Domenic Denicola 2016-12-13 14:10:00 UTC
Now being discussed after much talk in https://github.com/whatwg/html/issues/1929