aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/webidls/HTMLAnchorElement.webidl
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-06-01 15:41:09 +0200
committerMs2ger <ms2ger@gmail.com>2014-06-01 15:41:09 +0200
commita0783aebbf95659ed571dabcbb7df7784828d696 (patch)
tree9adda8f3c3b245d04dc2f47573b4962281926d89 /src/components/script/dom/webidls/HTMLAnchorElement.webidl
parenteaae994d5761e137ecc847e6b38cbcaf9ff88c19 (diff)
downloadservo-a0783aebbf95659ed571dabcbb7df7784828d696.tar.gz
servo-a0783aebbf95659ed571dabcbb7df7784828d696.zip
Remove not-yet-implemented members from IDL and Rust code.
These stub implementations bring no value, and significantly increased maintenance costs. This commit also synchronizes the IDL with the HTML specification and makes the URLs consistent.
Diffstat (limited to 'src/components/script/dom/webidls/HTMLAnchorElement.webidl')
-rw-r--r--src/components/script/dom/webidls/HTMLAnchorElement.webidl49
1 files changed, 16 insertions, 33 deletions
diff --git a/src/components/script/dom/webidls/HTMLAnchorElement.webidl b/src/components/script/dom/webidls/HTMLAnchorElement.webidl
index a4e1866fbf9..cd56efa00c8 100644
--- a/src/components/script/dom/webidls/HTMLAnchorElement.webidl
+++ b/src/components/script/dom/webidls/HTMLAnchorElement.webidl
@@ -11,44 +11,27 @@
* and create derivative works of this document.
*/
-// http://www.whatwg.org/specs/web-apps/current-work/#the-a-element
+// http://www.whatwg.org/html/#htmlanchorelement
interface HTMLAnchorElement : HTMLElement {
- // No support for stringifier attributes yet
- //[SetterThrows]
- //stringifier attribute DOMString href;
- //stringifier;
- [SetterThrows]
- attribute DOMString href;
- [SetterThrows]
- attribute DOMString target;
- [SetterThrows]
- attribute DOMString download;
- [SetterThrows]
- attribute DOMString ping;
- [SetterThrows]
- attribute DOMString rel;
- // relList not supported yet
+ // attribute DOMString target;
+ // attribute DOMString download;
+ //[PutForwards=value] attribute DOMSettableTokenList ping;
+ // attribute DOMString rel;
//readonly attribute DOMTokenList relList;
- [SetterThrows]
- attribute DOMString hreflang;
- [SetterThrows]
- attribute DOMString type;
+ // attribute DOMString hreflang;
+ // attribute DOMString type;
- [SetterThrows]
- attribute DOMString text;
+ // attribute DOMString text;
+
+ // also has obsolete members
};
//HTMLAnchorElement implements URLUtils;
-// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
+// http://www.whatwg.org/html/#HTMLAnchorElement-partial
partial interface HTMLAnchorElement {
- [SetterThrows]
- attribute DOMString coords;
- [SetterThrows]
- attribute DOMString charset;
- [SetterThrows]
- attribute DOMString name;
- [SetterThrows]
- attribute DOMString rev;
- [SetterThrows]
- attribute DOMString shape;
+ // attribute DOMString coords;
+ // attribute DOMString charset;
+ // attribute DOMString name;
+ // attribute DOMString rev;
+ // attribute DOMString shape;
};