aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLSourceElement.webidl
diff options
context:
space:
mode:
authorpaavininanda <paavininanda@gmail.com>2018-07-03 01:34:22 +0530
committerpaavininanda <paavininanda@gmail.com>2018-07-03 01:34:22 +0530
commit5f77b60c3a3696eab17d7433932698dc5e6a8cfd (patch)
treefe94a6bda60f424926055b267422c9abf73b279c /components/script/dom/webidls/HTMLSourceElement.webidl
parent16bdf9225dd979feeea1580f78041016ce41643f (diff)
downloadservo-5f77b60c3a3696eab17d7433932698dc5e6a8cfd.tar.gz
servo-5f77b60c3a3696eab17d7433932698dc5e6a8cfd.zip
Making getters and setters
Diffstat (limited to 'components/script/dom/webidls/HTMLSourceElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLSourceElement.webidl14
1 files changed, 10 insertions, 4 deletions
diff --git a/components/script/dom/webidls/HTMLSourceElement.webidl b/components/script/dom/webidls/HTMLSourceElement.webidl
index b62c3def6f8..0e5b6ab1410 100644
--- a/components/script/dom/webidls/HTMLSourceElement.webidl
+++ b/components/script/dom/webidls/HTMLSourceElement.webidl
@@ -5,8 +5,14 @@
// https://html.spec.whatwg.org/multipage/#htmlsourceelement
[HTMLConstructor]
interface HTMLSourceElement : HTMLElement {
- // [CEReactions]
- // attribute DOMString src;
- // [CEReactions]
- // attribute DOMString type;
+ [CEReactions]
+ attribute DOMString src;
+ [CEReactions]
+ attribute DOMString type;
+ [CEReactions]
+ attribute DOMString srcset;
+ [CEReactions]
+ attribute DOMString sizes;
+ [CEReactions]
+ attribute DOMString media;
};