<dialog>.showModal() works also in shadow DOM, but per HTML specification it shouldn't
Reported by
opet...@mozilla.com,
Dec 14 2016
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Steps to reproduce the problem: 1. Load the test 2. Click the button What is the expected behavior? Per specification https://html.spec.whatwg.org/multipage/forms.html#dom-dialog-showmodal showModal() should throw when "If subject is not in a document". What went wrong? showModal() works also in shadow DOM. Did this work before? N/A Does this work in other browsers? N/A Chrome version: <Copy from: 'about:version'> Channel: n/a OS Version: Flash Version:
,
Dec 14 2016
,
Dec 14 2016
,
Dec 15 2016
I'll work on a PR to the spec.
,
Dec 15 2016
,
Dec 15 2016
,
Dec 15 2016
Thanks for the spec PR kochi@! It's merged, so I'll close this now.
,
Dec 16 2016
Thanks! |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by domenic@chromium.org
, Dec 14 2016