diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-06-01 15:41:09 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-06-01 15:41:09 +0200 |
commit | a0783aebbf95659ed571dabcbb7df7784828d696 (patch) | |
tree | 9adda8f3c3b245d04dc2f47573b4962281926d89 /src/components/script/dom/webidls/HTMLAreaElement.webidl | |
parent | eaae994d5761e137ecc847e6b38cbcaf9ff88c19 (diff) | |
download | servo-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/HTMLAreaElement.webidl')
-rw-r--r-- | src/components/script/dom/webidls/HTMLAreaElement.webidl | 58 |
1 files changed, 16 insertions, 42 deletions
diff --git a/src/components/script/dom/webidls/HTMLAreaElement.webidl b/src/components/script/dom/webidls/HTMLAreaElement.webidl index f63f897bf5b..0cbbe2d7ce1 100644 --- a/src/components/script/dom/webidls/HTMLAreaElement.webidl +++ b/src/components/script/dom/webidls/HTMLAreaElement.webidl @@ -1,52 +1,26 @@ /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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-area-element - * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis - * - * © 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. - */ + * 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/. */ -// http://www.whatwg.org/specs/web-apps/current-work/#the-area-element +// http://www.whatwg.org/html/#htmlareaelement interface HTMLAreaElement : HTMLElement { - [SetterThrows] - attribute DOMString alt; - [SetterThrows] - attribute DOMString coords; - [SetterThrows] - attribute DOMString shape; - // 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; + // attribute DOMString alt; + // attribute DOMString coords; + // attribute DOMString shape; + // attribute DOMString target; + // attribute DOMString download; + //[PutForwards=value] attribute DOMSettableTokenList ping; + // attribute DOMString rel; + //readonly attribute DOMTokenList relList; + // attribute DOMString hreflang; + // attribute DOMString type; - // not implemented. - // [SetterThrows] - // attribute DOMString rel; - //readonly attribute DOMTokenList relList; - // - // [SetterThrows] - // attribute DOMString hreflang; - // [SetterThrows] - // attribute DOMString type; + // also has obsolete members }; //HTMLAreaElement implements URLUtils; -// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis +// http://www.whatwg.org/html/#HTMLAreaElement-partial partial interface HTMLAreaElement { - [SetterThrows] - attribute boolean noHref; + // attribute boolean noHref; }; |