mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1155025. Make the root layer on fennec have null scroll id with containerless scrolling. r=mstange
On Android we want the root xul document to get a null scroll id so that the root content document gets the first non-null scroll id.
This commit is contained in:
parent
8f394b568c
commit
571ee57a11
@ -1709,7 +1709,11 @@ already_AddRefed<LayerManager> nsDisplayList::PaintRoot(nsDisplayListBuilder* aB
|
||||
} else if (!gfxPrefs::LayoutUseContainersForRootFrames()) {
|
||||
// If there is no root scroll frame, and we're using containerless
|
||||
// scrolling, pick the document element instead.
|
||||
// On Android we want the root xul document to get a null scroll id
|
||||
// so that the root content document gets the first non-null scroll id.
|
||||
#ifndef MOZ_WIDGET_ANDROID
|
||||
content = document->GetDocumentElement();
|
||||
#endif
|
||||
}
|
||||
|
||||
root->SetFrameMetrics(
|
||||
|
Loading…
Reference in New Issue
Block a user