mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1234877 - Whether a scroll frame is async scrollable is determined by mWillBuildScrollableLayer, not by usingDisplayPort. r=tn
This commit is contained in:
parent
6b3c6b5139
commit
9a495ed086
@ -3111,7 +3111,7 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
}
|
||||
|
||||
DisplayListClipState::AutoSaveRestore clipStateForScrollClip(aBuilder);
|
||||
if (usingDisplayPort) {
|
||||
if (mWillBuildScrollableLayer) {
|
||||
if (mClipAllDescendants) {
|
||||
clipStateForScrollClip.TurnClipIntoScrollClipForContentDescendants(aBuilder, sf);
|
||||
} else {
|
||||
@ -3140,7 +3140,7 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
}
|
||||
|
||||
DisplayListClipState::AutoSaveRestore clipStateForScrollClip(aBuilder);
|
||||
if (usingDisplayPort) {
|
||||
if (mWillBuildScrollableLayer) {
|
||||
if (mClipAllDescendants) {
|
||||
clipStateForScrollClip.TurnClipIntoScrollClipForContentDescendants(aBuilder, sf);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user