From 8f073ecf34b6563ae82ea3ff07e3555ae8d0226a Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Wed, 18 Nov 1998 02:11:27 +0000 Subject: [PATCH] use proper pseudo tag for text style contexts git-svn-id: svn://10.0.0.236/trunk@14844 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/style/src/nsHTMLStyleSheet.cpp | 2 +- mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp | 2 +- mozilla/layout/style/nsHTMLStyleSheet.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp index 290239f8bb3..285c37baad1 100644 --- a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp @@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, aParentFrame->GetContent(parentContent); } styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent, - nsHTMLAtoms::text, + nsHTMLAtoms::textPseudo, parentStyleContext); NS_IF_RELEASE(parentContent); } else { diff --git a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp index 290239f8bb3..285c37baad1 100644 --- a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp @@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, aParentFrame->GetContent(parentContent); } styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent, - nsHTMLAtoms::text, + nsHTMLAtoms::textPseudo, parentStyleContext); NS_IF_RELEASE(parentContent); } else { diff --git a/mozilla/layout/style/nsHTMLStyleSheet.cpp b/mozilla/layout/style/nsHTMLStyleSheet.cpp index 290239f8bb3..285c37baad1 100644 --- a/mozilla/layout/style/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/style/nsHTMLStyleSheet.cpp @@ -1658,7 +1658,7 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, aParentFrame->GetContent(parentContent); } styleContext = aPresContext->ResolvePseudoStyleContextFor(parentContent, - nsHTMLAtoms::text, + nsHTMLAtoms::textPseudo, parentStyleContext); NS_IF_RELEASE(parentContent); } else {