diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-07-09 20:47:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 20:47:09 -0400 |
commit | 82213cce6f3a4e14a007f1e584d69bfd6611d4e0 (patch) | |
tree | f80c14e25b0793d506677db3dd358869f4ce561f /components/script/dom/webidls/HTMLSourceElement.webidl | |
parent | 934848c1a1cfed33c38e015a01e485a566add3e7 (diff) | |
parent | 5f77b60c3a3696eab17d7433932698dc5e6a8cfd (diff) | |
download | servo-82213cce6f3a4e14a007f1e584d69bfd6611d4e0.tar.gz servo-82213cce6f3a4e14a007f1e584d69bfd6611d4e0.zip |
Auto merge of #21120 - paavininanda:HTMLSourceElementIDL_attributes, r=jdm
Exposing HTMLSourceElement IDL attributes
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21120)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls/HTMLSourceElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLSourceElement.webidl | 14 |
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; }; |