Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'

This commit is contained in:
WPT Sync Bot 2022-01-20 04:38:55 +00:00 committed by cybai
parent 4401622eb1
commit b77ad115f6
16832 changed files with 270819 additions and 87621 deletions

View file

@ -25,7 +25,10 @@ function setupStickyTest(stickyDirection, stickyOffset) {
elements.scroller.style.position = 'relative';
elements.scroller.style.width = (inline ? '200px' : '100px');
elements.scroller.style.height = (inline ? '100px' : '200px');
elements.scroller.style.overflow = 'scroll';
// 'hidden' is used here instead of 'scroll' because this prevents
// scrollbars from affecting the size and offset of sticky items.
elements.scroller.style.overflow = 'hidden';
elements.contents = document.createElement('div');
elements.contents.style.height = (inline ? '100%' : '500px');