From fa9285500a73c63c7b247c73d0fff5c917fd1193 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Fri, 10 Sep 1999 05:54:00 +0000 Subject: [PATCH] changed content state change notification rule to match attribute changed made a seperate notification method git-svn-id: svn://10.0.0.236/trunk@46725 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 9 +++------ mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index a786e8f07f3..1c1e8b62c52 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -6690,10 +6690,9 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext, break; case NS_STYLE_HINT_REFLOW: case NS_STYLE_HINT_VISUAL: - break; case NS_STYLE_HINT_CONTENT: // let primary frame deal with it - result = primaryFrame1->ContentChanged(aPresContext, aContent1, nsnull); + result = primaryFrame1->ContentStateChanged(aPresContext, aContent1, frameChange1); default: break; } @@ -6704,10 +6703,9 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext, break; case NS_STYLE_HINT_REFLOW: case NS_STYLE_HINT_VISUAL: - break; case NS_STYLE_HINT_CONTENT: // let primary frame deal with it - result = primaryFrame2->ContentChanged(aPresContext, aContent2, nsnull); + result = primaryFrame2->ContentStateChanged(aPresContext, aContent2, frameChange2); // then process any children that need it default: break; @@ -6732,10 +6730,9 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext, break; case NS_STYLE_HINT_REFLOW: case NS_STYLE_HINT_VISUAL: - break; case NS_STYLE_HINT_CONTENT: // let primary frame deal with it - result = primaryFrame2->ContentChanged(aPresContext, aContent2, nsnull); + result = primaryFrame2->ContentStateChanged(aPresContext, aContent2, frameChange); // then process any children that need it default: break; diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index a786e8f07f3..1c1e8b62c52 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -6690,10 +6690,9 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext, break; case NS_STYLE_HINT_REFLOW: case NS_STYLE_HINT_VISUAL: - break; case NS_STYLE_HINT_CONTENT: // let primary frame deal with it - result = primaryFrame1->ContentChanged(aPresContext, aContent1, nsnull); + result = primaryFrame1->ContentStateChanged(aPresContext, aContent1, frameChange1); default: break; } @@ -6704,10 +6703,9 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext, break; case NS_STYLE_HINT_REFLOW: case NS_STYLE_HINT_VISUAL: - break; case NS_STYLE_HINT_CONTENT: // let primary frame deal with it - result = primaryFrame2->ContentChanged(aPresContext, aContent2, nsnull); + result = primaryFrame2->ContentStateChanged(aPresContext, aContent2, frameChange2); // then process any children that need it default: break; @@ -6732,10 +6730,9 @@ nsCSSFrameConstructor::ContentStatesChanged(nsIPresContext* aPresContext, break; case NS_STYLE_HINT_REFLOW: case NS_STYLE_HINT_VISUAL: - break; case NS_STYLE_HINT_CONTENT: // let primary frame deal with it - result = primaryFrame2->ContentChanged(aPresContext, aContent2, nsnull); + result = primaryFrame2->ContentStateChanged(aPresContext, aContent2, frameChange); // then process any children that need it default: break;