mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Update web-platform-tests to revision ead8f8b00d0b68237109f3c93d0ccae076a34f98
This commit is contained in:
parent
d029b1a0ff
commit
2178678b0f
75 changed files with 2476 additions and 391 deletions
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Long scrolling should work properly</title>
|
||||
<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org">
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.post {
|
||||
height: 1000px;
|
||||
width: 300px;
|
||||
border: 1px solid black;
|
||||
|
||||
}
|
||||
.before {
|
||||
height: 213px;
|
||||
border-top: 0;
|
||||
}
|
||||
.scroller {
|
||||
overflow-y: scroll;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
will-change: transform;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>The number 7 should be visible in the scrolled window below.</p>
|
||||
|
||||
<div id="scroller" class="scroller">
|
||||
<div style="position: relative;">
|
||||
<div style="position: relative;">
|
||||
<div class="post before"></div>
|
||||
<div class="post">7</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Long scrolling should work properly</title>
|
||||
<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/cssom-view/#scrolling">
|
||||
<link rel="match" href="long_scroll_composited-ref.html">
|
||||
|
||||
<style>
|
||||
.post {
|
||||
height: 1000px;
|
||||
width: 300px;
|
||||
border: 1px solid black;
|
||||
|
||||
}
|
||||
.scroller {
|
||||
overflow-y: scroll;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
will-change: transform;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>The number 7 should be visible in the scrolled window below.</p>
|
||||
|
||||
<div id="scroller" class="scroller">
|
||||
<div style="position: relative;">
|
||||
<div style="position: relative;">
|
||||
<div class="post">0</div>
|
||||
<div class="post">1</div>
|
||||
<div class="post">2</div>
|
||||
<div class="post">3</div>
|
||||
<div class="post">4</div>
|
||||
<div class="post">5</div>
|
||||
<div class="post">6</div>
|
||||
<div class="post">7</div>
|
||||
<div class="post">8</div>
|
||||
<div class="post">9</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
onload = function() {
|
||||
scroller=document.getElementById("scroller");
|
||||
scroller.scrollTop = 6800;
|
||||
};
|
||||
</script>
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Testing scrollOptions' behavior for Element.scroll* on the window of the main frame</title>
|
||||
<meta name="timeout" content="long"/>
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
||||
<link rel="author" title="Frédéric Wang" href="mailto:fwang@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/cssom-view/#propdef-scroll-behavior">
|
||||
<link rel="help" href="https://drafts.csswg.org/cssom-view/#scrolling-box">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue