2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-02-07 19:39:10 +04:00
|
|
|
/* 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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://www.whatwg.org/specs/web-apps/current-work/#the-source-element
|
|
|
|
*
|
|
|
|
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
|
|
|
|
* Opera Software ASA. You are granted a license to use, reproduce
|
|
|
|
* and create derivative works of this document.
|
|
|
|
*/
|
|
|
|
|
2019-10-17 18:38:39 +03:00
|
|
|
[Exposed=Window]
|
2013-02-07 19:39:10 +04:00
|
|
|
interface HTMLSourceElement : HTMLElement {
|
2019-10-17 18:38:39 +03:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2017-12-21 01:43:18 +03:00
|
|
|
[CEReactions, SetterNeedsSubjectPrincipal=NonSystem, SetterThrows]
|
2024-04-22 19:48:29 +03:00
|
|
|
attribute USVString src;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2013-02-07 19:39:10 +04:00
|
|
|
attribute DOMString type;
|
2014-04-24 00:55:05 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
partial interface HTMLSourceElement {
|
2017-12-21 01:43:18 +03:00
|
|
|
[CEReactions, SetterNeedsSubjectPrincipal=NonSystem, SetterThrows]
|
2024-04-22 19:48:29 +03:00
|
|
|
attribute USVString srcset;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2014-04-24 00:55:05 +04:00
|
|
|
attribute DOMString sizes;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2013-02-07 19:39:10 +04:00
|
|
|
attribute DOMString media;
|
2023-09-15 18:58:17 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2022-08-22 23:18:37 +03:00
|
|
|
attribute unsigned long width;
|
2023-09-15 18:58:17 +03:00
|
|
|
[CEReactions, SetterThrows]
|
2022-08-22 23:18:37 +03:00
|
|
|
attribute unsigned long height;
|
2013-02-07 19:39:10 +04:00
|
|
|
};
|