servo: Merge #10523 - Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL (from frewsxcv:cssom-htmlimageelement-extension); r=Ms2ger
authorCorey Farwell <coreyf@rwell.org>
Tue, 12 Apr 2016 15:29:57 +0500
changeset 476659 b2e8ff170055ad9d1c802d6554839f51be8e3424
parent 476658 f1bf7ef7ba23ab500bcf02e471cd345fdfd83762
child 476660 8ebe1b758ee1af13d4e9cc8a600a4d1ebe3b8402
push id44079
push userbmo:gps@mozilla.com
push dateSat, 04 Feb 2017 00:14:49 +0000
reviewersMs2ger
servo: Merge #10523 - Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL (from frewsxcv:cssom-htmlimageelement-extension); r=Ms2ger Source-Repo: https://github.com/servo/servo Source-Revision: dfb482a2b7fdb570f34e9092384fa74a3e1b54e3
servo/components/script/dom/webidls/HTMLImageElement.webidl
--- a/servo/components/script/dom/webidls/HTMLImageElement.webidl
+++ b/servo/components/script/dom/webidls/HTMLImageElement.webidl
@@ -27,8 +27,14 @@ partial interface HTMLImageElement {
   //         attribute DOMString lowsrc;
            attribute DOMString align;
            attribute unsigned long hspace;
            attribute unsigned long vspace;
            attribute DOMString longDesc;
 
   [TreatNullAs=EmptyString] attribute DOMString border;
 };
+
+// https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlimageelement-interface
+partial interface HTMLImageElement {
+  // readonly attribute long x;
+  // readonly attribute long y;
+};