mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update web-platform-tests to revision b'd1192ca239e944dc6cdbcd079e1c16227e08e30c'
This commit is contained in:
parent
69b272b4e1
commit
ec63c43030
233 changed files with 5065 additions and 1252 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class=test-wait>
|
||||
<style type="text/css">
|
||||
</style>
|
||||
<div id="container">
|
||||
<div id="div" style="transform:translateX(100px);"></div>
|
||||
</div>
|
||||
<script>
|
||||
function runTest() {
|
||||
document.getElementById('div').style = 'transform:translateX(200px)';
|
||||
var forceLayout = document.body.offsetWidth;
|
||||
document.getElementById('container').style = 'content-visibility: hidden;';
|
||||
requestAnimationFrame(function() {
|
||||
requestAnimationFrame(function() {
|
||||
document.documentElement.classList.remove('test-wait');
|
||||
});
|
||||
});
|
||||
}
|
||||
onload = runTest;
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue