Update web-platform-tests to revision b'2d1ad05908ee5447fdfa70eed9757273aa5da367'

This commit is contained in:
WPT Sync Bot 2023-03-05 01:39:17 +00:00
parent 7809bb7cba
commit 84de92ecaf
83 changed files with 1324 additions and 779 deletions

View file

@ -31,9 +31,10 @@ test(() => {
dialog.close();
dialog.showModal();
// Even though the element with `content-visibility: auto` is offscreen
// it should be considered relevant content because it is now in the top
// layer.
assert_equals(inner.getBoundingClientRect().height, 200);
// Even though the element with `content-visibility: auto` has an ancestor
// in the top layer, this element is not in the top layer list (although
// it's in the top layer stacking context). This means it should not be
// relevant to the user, because it is nevertheless not onscreen.
assert_equals(inner.getBoundingClientRect().height, 100);
});
</script>