зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1381584 - Remove unused cite field from nsIDOMHTMLQuoteElement. r=bz
MozReview-Commit-ID: 2sKSRcl6B1W --HG-- extra : rebase_source : daefc472e1b7e3a1c8be007319af629a2512a384
This commit is contained in:
Родитель
16bb565bdf
Коммит
e3b4a0a748
|
@ -48,7 +48,7 @@ NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElement)
|
|||
NS_IMPL_ELEMENT_CLONE(HTMLSharedElement)
|
||||
|
||||
// nsIDOMHTMLQuoteElement
|
||||
NS_IMPL_URI_ATTR(HTMLSharedElement, Cite, cite)
|
||||
// Empty
|
||||
|
||||
// nsIDOMHTMLHeadElement
|
||||
// Empty
|
||||
|
|
|
@ -147,7 +147,11 @@ public:
|
|||
}
|
||||
|
||||
// HTMLQuoteElement
|
||||
// The XPCOM GetCite works fine for us
|
||||
void GetCite(nsString& aCite)
|
||||
{
|
||||
GetHTMLURIAttr(nsGkAtoms::cite, aCite);
|
||||
}
|
||||
|
||||
void SetCite(const nsAString& aValue, ErrorResult& aResult)
|
||||
{
|
||||
MOZ_ASSERT(mNodeInfo->Equals(nsGkAtoms::q) ||
|
||||
|
|
|
@ -3,21 +3,9 @@
|
|||
* 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 nsIDOMHTMLQuoteElement interface is the interface to a [X]HTML
|
||||
* q 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(f02502b5-32a6-4df7-8a57-1416553a3188)]
|
||||
interface nsIDOMHTMLQuoteElement : nsISupports
|
||||
{
|
||||
attribute DOMString cite;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче