mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1109677 - Banish scrollinfo layers from the gtests as they are not used with event regions. r=botond
This commit is contained in:
parent
9a139d6c13
commit
10c3ad95ca
@ -1721,7 +1721,7 @@ protected:
|
||||
}
|
||||
|
||||
void CreatePotentiallyLeakingTree() {
|
||||
const char* layerTreeSyntax = "c(c(c(c))c(c(c)))";
|
||||
const char* layerTreeSyntax = "c(c(c(t))c(c(t)))";
|
||||
// LayerID 0 1 2 3 4 5 6
|
||||
root = CreateLayerTree(layerTreeSyntax, nullptr, nullptr, lm, layers);
|
||||
SetScrollableFrameMetrics(layers[0], FrameMetrics::START_SCROLL_ID);
|
||||
@ -1748,7 +1748,7 @@ protected:
|
||||
|
||||
protected:
|
||||
void CreateHitTesting1LayerTree() {
|
||||
const char* layerTreeSyntax = "c(ttcc)";
|
||||
const char* layerTreeSyntax = "c(tttt)";
|
||||
// LayerID 0 1234
|
||||
nsIntRegion layerVisibleRegion[] = {
|
||||
nsIntRegion(nsIntRect(0,0,100,100)),
|
||||
@ -1761,7 +1761,7 @@ protected:
|
||||
}
|
||||
|
||||
void CreateHitTesting2LayerTree() {
|
||||
const char* layerTreeSyntax = "c(cc(c))";
|
||||
const char* layerTreeSyntax = "c(tc(t))";
|
||||
// LayerID 0 12 3
|
||||
nsIntRegion layerVisibleRegion[] = {
|
||||
nsIntRegion(nsIntRect(0,0,100,100)),
|
||||
@ -2159,7 +2159,7 @@ protected:
|
||||
TestAsyncPanZoomController* rootApzc;
|
||||
|
||||
void CreateOverscrollHandoffLayerTree1() {
|
||||
const char* layerTreeSyntax = "c(c)";
|
||||
const char* layerTreeSyntax = "c(t)";
|
||||
nsIntRegion layerVisibleRegion[] = {
|
||||
nsIntRegion(nsIntRect(0, 0, 100, 100)),
|
||||
nsIntRegion(nsIntRect(0, 50, 100, 50))
|
||||
@ -2174,7 +2174,7 @@ protected:
|
||||
}
|
||||
|
||||
void CreateOverscrollHandoffLayerTree2() {
|
||||
const char* layerTreeSyntax = "c(c(c))";
|
||||
const char* layerTreeSyntax = "c(c(t))";
|
||||
nsIntRegion layerVisibleRegion[] = {
|
||||
nsIntRegion(nsIntRect(0, 0, 100, 100)),
|
||||
nsIntRegion(nsIntRect(0, 0, 100, 100)),
|
||||
@ -2194,7 +2194,7 @@ protected:
|
||||
}
|
||||
|
||||
void CreateOverscrollHandoffLayerTree3() {
|
||||
const char* layerTreeSyntax = "c(c(c)c(c))";
|
||||
const char* layerTreeSyntax = "c(c(t)c(t))";
|
||||
nsIntRegion layerVisibleRegion[] = {
|
||||
nsIntRegion(nsIntRect(0, 0, 100, 100)), // root
|
||||
nsIntRegion(nsIntRect(0, 0, 100, 50)), // scrolling parent 1
|
||||
@ -2214,7 +2214,7 @@ protected:
|
||||
}
|
||||
|
||||
void CreateScrollgrabLayerTree() {
|
||||
const char* layerTreeSyntax = "c(c)";
|
||||
const char* layerTreeSyntax = "c(t)";
|
||||
nsIntRegion layerVisibleRegion[] = {
|
||||
nsIntRegion(nsIntRect(0, 0, 100, 100)), // scroll-grabbing parent
|
||||
nsIntRegion(nsIntRect(0, 20, 100, 80)) // child
|
||||
|
Loading…
Reference in New Issue
Block a user