Update web-platform-tests to revision b'8d8b273d2265095c7f5330ff231940e68fb49754'

This commit is contained in:
WPT Sync Bot 2023-05-07 01:27:55 +00:00
parent bee09efcc5
commit 9b45fdb3f5
1819 changed files with 34819 additions and 33935 deletions

View file

@ -37,7 +37,7 @@
</div>
<script>
test(function(t) {
promise_test(async function(t) {
// Note that this test passes even without scroll anchoring because of
// fragment anchoring.
window.location.hash = 'fragment';
@ -48,7 +48,13 @@
var ch = document.getElementById('changer');
ch.style.height = 100;
await new Promise(resolve => addEventListener('scroll', resolve, {once: true}));
// Height of first + height changer + fragment margin-top.
assert_equals(window.scrollY, 1110);
first.remove();
changer.remove();
anchor.remove();
}, 'Verify scroll anchoring interaction with fragment scrolls');
</script>