Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk

This commit is contained in:
attinasi%netscape.com 2000-06-07 23:07:57 +00:00
parent 235a64963f
commit 48511a3494
3 changed files with 3 additions and 6 deletions

View File

@ -3113,8 +3113,7 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext,
// Now 'href' will contain a canonical URI that we can
// look up in global history.
if (aTestState) {
if ((PR_FALSE != result) && (aTestState)) {
if (! linkHandler) {
aPresContext->GetLinkHandler(&linkHandler);
if (linkHandler) {

View File

@ -3113,8 +3113,7 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext,
// Now 'href' will contain a canonical URI that we can
// look up in global history.
if (aTestState) {
if ((PR_FALSE != result) && (aTestState)) {
if (! linkHandler) {
aPresContext->GetLinkHandler(&linkHandler);
if (linkHandler) {

View File

@ -3113,8 +3113,7 @@ static PRBool SelectorMatches(nsIPresContext* aPresContext,
// Now 'href' will contain a canonical URI that we can
// look up in global history.
if (aTestState) {
if ((PR_FALSE != result) && (aTestState)) {
if (! linkHandler) {
aPresContext->GetLinkHandler(&linkHandler);
if (linkHandler) {