зеркало из https://github.com/mozilla/pjs.git
these are not the droids you are looking for
This commit is contained in:
Родитель
98d61129f0
Коммит
c1d7309997
|
@ -3058,7 +3058,7 @@ nsEditor::IsEditable(nsIDOMNode *aNode)
|
|||
return PR_TRUE;
|
||||
}
|
||||
|
||||
PRUint32
|
||||
nsresult
|
||||
nsEditor::CountEditableChildren(nsIDOMNode *aNode, PRUint32 &outCount)
|
||||
{
|
||||
outCount = 0;
|
||||
|
|
|
@ -566,7 +566,7 @@ nsHTMLEditRules::WillMakeList(nsIDOMSelection *aSelection, PRBool aOrdered, PRBo
|
|||
while (IsDiv(curNode) || IsOrderedList(curNode) || IsUnorderedList(curNode) || IsBlockquote(curNode))
|
||||
{
|
||||
// dive as long as there is only one child, and it is a list, div, or blockquote
|
||||
PRInt32 numChildren;
|
||||
PRUint32 numChildren;
|
||||
res = nsEditor::CountEditableChildren(curNode, numChildren);
|
||||
if (NS_FAILED(res)) return res;
|
||||
|
||||
|
|
|
@ -3058,7 +3058,7 @@ nsEditor::IsEditable(nsIDOMNode *aNode)
|
|||
return PR_TRUE;
|
||||
}
|
||||
|
||||
PRUint32
|
||||
nsresult
|
||||
nsEditor::CountEditableChildren(nsIDOMNode *aNode, PRUint32 &outCount)
|
||||
{
|
||||
outCount = 0;
|
||||
|
|
|
@ -566,7 +566,7 @@ nsHTMLEditRules::WillMakeList(nsIDOMSelection *aSelection, PRBool aOrdered, PRBo
|
|||
while (IsDiv(curNode) || IsOrderedList(curNode) || IsUnorderedList(curNode) || IsBlockquote(curNode))
|
||||
{
|
||||
// dive as long as there is only one child, and it is a list, div, or blockquote
|
||||
PRInt32 numChildren;
|
||||
PRUint32 numChildren;
|
||||
res = nsEditor::CountEditableChildren(curNode, numChildren);
|
||||
if (NS_FAILED(res)) return res;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче