зеркало из https://github.com/mozilla/pjs.git
Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
This commit is contained in:
Родитель
242fddb720
Коммит
e03b5378b9
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче