mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
Disable a certain kind of caching to make incremental style changes work
This commit is contained in:
parent
eb45c70707
commit
49f2e69fbe
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user