diff options
Diffstat (limited to 'components/script/dom/webidls/HTMLSourceElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLSourceElement.webidl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/components/script/dom/webidls/HTMLSourceElement.webidl b/components/script/dom/webidls/HTMLSourceElement.webidl index 738a545713a..92f75ff5995 100644 --- a/components/script/dom/webidls/HTMLSourceElement.webidl +++ b/components/script/dom/webidls/HTMLSourceElement.webidl @@ -1,9 +1,20 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ // https://html.spec.whatwg.org/multipage/#htmlsourceelement +[Exposed=Window] interface HTMLSourceElement : HTMLElement { - // attribute DOMString src; - // attribute DOMString type; + [HTMLConstructor] constructor(); + + [CEReactions] + attribute DOMString src; + [CEReactions] + attribute DOMString type; + [CEReactions] + attribute DOMString srcset; + [CEReactions] + attribute DOMString sizes; + [CEReactions] + attribute DOMString media; }; |