Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317

This commit is contained in:
Josh Matthews 2018-01-04 13:44:24 -05:00
parent aa199307c8
commit 2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions

View file

@ -0,0 +1,17 @@
<!doctype html>
<meta charset=utf-8>
<title>Setting scrollTop to 0 immediately after toggling display from "none" on an element that had nonzero scrollTop before should work.</title>
<link rel=match href="scrollTop-display-change-ref.html">
<div id="scroller" style="height: 100px; overflow: scroll">
<div style="height: 1000px">
I should be visible.
</div>
I should not be visible.
</div>
<script>
scroller.scrollTop = 1000;
scroller.style.display = "none";
var win = scroller.scrollTop; // Force layout flush
scroller.style.display = "";
scroller.scrollTop = 0;
</script>