Disable a certain kind of caching to make incremental style changes work

This commit is contained in:
kipp%netscape.com 1998-09-24 23:56:45 +00:00
parent eb45c70707
commit 49f2e69fbe
3 changed files with 6 additions and 3 deletions

View File

@ -610,7 +610,8 @@ nsIStyleContext* StyleSetImpl::ResolveStyleFor(nsIPresContext* aPresContext,
// want to check parent frame's context for cached child context first
if ((nsnull != parentContext) && (nsnull != aContent)) {
result = parentContext->FindChildWithContent(aContent);
//XXX Disabled this for the dom, as per peter's note
//XXX result = parentContext->FindChildWithContent(aContent);
}
if (nsnull == result) {

View File

@ -610,7 +610,8 @@ nsIStyleContext* StyleSetImpl::ResolveStyleFor(nsIPresContext* aPresContext,
// want to check parent frame's context for cached child context first
if ((nsnull != parentContext) && (nsnull != aContent)) {
result = parentContext->FindChildWithContent(aContent);
//XXX Disabled this for the dom, as per peter's note
//XXX result = parentContext->FindChildWithContent(aContent);
}
if (nsnull == result) {

View File

@ -610,7 +610,8 @@ nsIStyleContext* StyleSetImpl::ResolveStyleFor(nsIPresContext* aPresContext,
// want to check parent frame's context for cached child context first
if ((nsnull != parentContext) && (nsnull != aContent)) {
result = parentContext->FindChildWithContent(aContent);
//XXX Disabled this for the dom, as per peter's note
//XXX result = parentContext->FindChildWithContent(aContent);
}
if (nsnull == result) {