mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1449746 - Make helper_hittest_backface_hidden.html more robust. r=kats
MozReview-Commit-ID: J0GH58j3X6U --HG-- extra : rebase_source : f1764396de82d583a087fe6cd27a5c11944d5121
This commit is contained in:
parent
defa726925
commit
257491c121
@ -49,6 +49,13 @@ function* test(testDriver) {
|
||||
}
|
||||
|
||||
var subframe = document.getElementById('front');
|
||||
|
||||
// Set a displayport to ensure the subframe is layerized.
|
||||
// This is not required for exercising the behavior we want to test,
|
||||
// but it's needed to be able to assert the results reliably.
|
||||
config.utils.setDisplayPortForElement(0, 0, 1000, 1000, subframe, 1);
|
||||
yield waitForAllPaints(testDriver);
|
||||
|
||||
var subframeViewId = config.utils.getViewId(subframe);
|
||||
|
||||
var {hitInfo, scrollId} = hitTest(centerOf(subframe));
|
||||
|
Loading…
Reference in New Issue
Block a user