mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision b'2d1ad05908ee5447fdfa70eed9757273aa5da367'
This commit is contained in:
parent
7809bb7cba
commit
84de92ecaf
83 changed files with 1324 additions and 779 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue