Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -773,7 +773,7 @@ nsWebShell::OnLinkClick(nsIContent* aContent,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aContent->HasFlag(NODE_IS_EDITABLE)) {
|
||||
if (aContent->IsEditable()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@@ -804,7 +804,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aContent->HasFlag(NODE_IS_EDITABLE)) {
|
||||
if (aContent->IsEditable()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@@ -903,7 +903,7 @@ nsWebShell::OnOverLink(nsIContent* aContent,
|
||||
nsIURI* aURI,
|
||||
const PRUnichar* aTargetSpec)
|
||||
{
|
||||
if (aContent->HasFlag(NODE_IS_EDITABLE)) {
|
||||
if (aContent->IsEditable()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user