Bug 1381606, part 2 - Remove unused fields from nsIDOMHTMLOListElement. r=bz
MozReview-Commit-ID: LWlyIeuwgUr
--- a/dom/html/HTMLSharedListElement.cpp
+++ b/dom/html/HTMLSharedListElement.cpp
@@ -33,21 +33,16 @@ NS_INTERFACE_MAP_BEGIN(HTMLSharedListEle
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLOListElement, ol)
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLUListElement, ul)
NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElement)
NS_IMPL_ELEMENT_CLONE(HTMLSharedListElement)
-NS_IMPL_BOOL_ATTR(HTMLSharedListElement, Compact, compact)
-NS_IMPL_INT_ATTR_DEFAULT_VALUE(HTMLSharedListElement, Start, start, 1)
-NS_IMPL_STRING_ATTR(HTMLSharedListElement, Type, type)
-NS_IMPL_BOOL_ATTR(HTMLSharedListElement, Reversed, reversed)
-
// Shared with nsHTMLSharedElement.cpp
nsAttrValue::EnumTable kListTypeTable[] = {
{ "none", NS_STYLE_LIST_STYLE_NONE },
{ "disc", NS_STYLE_LIST_STYLE_DISC },
{ "circle", NS_STYLE_LIST_STYLE_CIRCLE },
{ "round", NS_STYLE_LIST_STYLE_CIRCLE },
{ "square", NS_STYLE_LIST_STYLE_SQUARE },
{ "decimal", NS_STYLE_LIST_STYLE_DECIMAL },
--- a/dom/interfaces/html/nsIDOMHTMLOListElement.idl
+++ b/dom/interfaces/html/nsIDOMHTMLOListElement.idl
@@ -1,26 +1,11 @@
/* -*- 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/. */
-#include "nsIDOMHTMLElement.idl"
-
-/**
- * The nsIDOMHTMLOListElement interface is the interface to a [X]HTML
- * ol element.
- *
- * This interface is trying to follow the DOM Level 2 HTML specification:
- * http://www.w3.org/TR/DOM-Level-2-HTML/
- *
- * with changes from the work-in-progress WHATWG HTML specification:
- * http://www.whatwg.org/specs/web-apps/current-work/
- */
+#include "nsISupports.idl"
[uuid(d899642a-53e2-4eb4-9d65-4a666a45ee01)]
interface nsIDOMHTMLOListElement : nsISupports
{
- attribute boolean compact;
- attribute boolean reversed;
- attribute long start;
- attribute DOMString type;
};