[webkit-efl] FW: window.showModalDialog()
Jussi Kukkonen
jussi.kukkonen at intel.com
Mon Jan 7 04:43:24 PST 2013
On Sat, Jan 5, 2013 at 6:15 AM, Sun, Xun <xun.sun at intel.com> wrote:
> Hi folks,
>
> I posted this query on the product-dev at lists.tizen.org list but got no comments so far.
>
> Could someone please comment if window.showModalDialog() would be a welcomed feature for Webkit-efl? (Webkit2 of course)
I'm not sure about this... modal dialog (as specified in
window.showModalDialog()) is pretty horrible. Is there a single mobile
browser that implements it? For that matter, does any webkit browser
truly implement window.showModalDialog() as modal? Chrome definitely
doesn't.
In any case my personal opinion is that window.showModalDialog() is
not a correct answer to any sane question. I'm happy to be proven
wrong though, so feel free to expand if you have a real use case.
Personally I'd rather see support for HTML5 DialogElement
(http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-dialog-element),
a cleaner implementation of the same idea. I have a recollection that
there's at least some experimental code in webkit.
- Jussi
More information about the webkit-efl
mailing list