mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
changed content state change notification rule to match attribute changed
made a seperate notification method
This commit is contained in:
parent
ed25a6b91e
commit
be9461f3e1
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user