48 lines
1.4 KiB
HTML
48 lines
1.4 KiB
HTML
<!DOCTYPE>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Tests for scrollIntoView</title>
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script type="application/javascript" src="apz_test_utils.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
<script type="application/javascript">
|
|
|
|
let prefs = [];
|
|
|
|
var subtests = [
|
|
{"file": "helper_scrollIntoView_in_nested_fixed_elements.html",
|
|
"prefs": [...prefs,
|
|
["layout.scroll_fixed_content_into_view_visually", true]]
|
|
},
|
|
{"file": "helper_scrollIntoView_bug1950744.html",
|
|
"prefs": [...prefs,
|
|
["layout.scroll_fixed_content_into_view_visually", false]]
|
|
},
|
|
{"file": "helper_scrollIntoView_bug1950744.html",
|
|
"prefs": [...prefs,
|
|
["layout.scroll_fixed_content_into_view_visually", true]]
|
|
},
|
|
{"file": "helper_scrollIntoView_bug1950744-2.html",
|
|
"prefs": [...prefs,
|
|
["layout.scroll_fixed_content_into_view_visually", false]]
|
|
},
|
|
{"file": "helper_scrollIntoView_bug1950744-2.html",
|
|
"prefs": [...prefs,
|
|
["layout.scroll_fixed_content_into_view_visually", true]]
|
|
},
|
|
];
|
|
|
|
if (isApzEnabled()) {
|
|
SimpleTest.waitForExplicitFinish();
|
|
window.onload = function() {
|
|
runSubtestsSeriallyInFreshWindows(subtests)
|
|
.then(SimpleTest.finish, SimpleTest.finishWithFailure);
|
|
};
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|