changed content state change notification rule to match attribute changed

made a seperate notification method
This commit is contained in:
peterl%netscape.com 1999-09-10 05:54:00 +00:00
parent ed25a6b91e
commit be9461f3e1
2 changed files with 6 additions and 12 deletions

View File

@ -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;

View File

@ -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;