mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue