mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
This commit is contained in:
parent
235a64963f
commit
48511a3494
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user