mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 687422 - Remove Text.isElementContentWhitespace; r=sicking
This commit is contained in:
parent
7994f114f3
commit
28324aa66d
@ -77,4 +77,3 @@ DEPRECATED_OPERATION(IsSameNode)
|
||||
DEPRECATED_OPERATION(GlobalStorage)
|
||||
DEPRECATED_OPERATION(XmlVersion)
|
||||
DEPRECATED_OPERATION(InputEncoding)
|
||||
DEPRECATED_OPERATION(IsElementContentWhitespace)
|
||||
|
@ -330,13 +330,6 @@ protected:
|
||||
|
||||
nsresult GetWholeText(nsAString& aWholeText);
|
||||
|
||||
nsresult GetIsElementContentWhitespace(bool *aReturn)
|
||||
{
|
||||
GetOwnerDoc()->WarnOnceAbout(nsIDocument::eIsElementContentWhitespace);
|
||||
*aReturn = TextIsOnlyWhitespace();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
static PRInt32 FirstLogicallyAdjacentTextNode(nsIContent* aParent,
|
||||
PRInt32 aIndex);
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
* http://www.w3.org/TR/DOM-Level-2-Core/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(08a05c75-23de-4937-a45b-89bdcbe4f467)]
|
||||
[scriptable, uuid(92cfb4d4-7456-44fa-9c76-c70fdee78e2f)]
|
||||
interface nsIDOMCDATASection : nsIDOMText
|
||||
{
|
||||
};
|
||||
|
@ -47,20 +47,12 @@
|
||||
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
|
||||
*/
|
||||
|
||||
[scriptable, uuid(8a876308-7891-468c-8f7a-9f2b81160c3c)]
|
||||
[scriptable, uuid(437ed60c-febd-4bd0-892f-cf358adc3c96)]
|
||||
interface nsIDOMText : nsIDOMCharacterData
|
||||
{
|
||||
nsIDOMText splitText(in unsigned long offset)
|
||||
raises(DOMException);
|
||||
|
||||
/**
|
||||
* Indicates whether this text node contains element content whitespace.
|
||||
* A text node is element content whitespace if it contains only XML
|
||||
* white space characters and is a child of an element whose content
|
||||
* model allows only child elements optionally separated by white space.
|
||||
*/
|
||||
readonly attribute boolean isElementContentWhitespace;
|
||||
|
||||
/**
|
||||
* The concatenation of all logically adjacent text nodes with this text
|
||||
* node, where "logically adjacent" consists of all text nodes which can be
|
||||
|
@ -116,5 +116,4 @@ nsIDOMWindowInternalWarning=Use of nsIDOMWindowInternal is deprecated. Use nsIDO
|
||||
IsSameNodeWarning=Use of isSameNode is deprecated. Please use A == B to test for equality instead.
|
||||
XmlVersionWarning=Use of xmlVersion is deprecated.
|
||||
InputEncodingWarning=Use of inputEncoding is deprecated.
|
||||
IsElementContentWhitespaceWarning=Use of isElementContentWhitespaceWarning is deprecated.
|
||||
GlobalStorageWarning=Use of globalStorage is deprecated. Please use localStorage instead.
|
||||
|
Loading…
Reference in New Issue
Block a user