mirror of
https://github.com/servo/servo
synced 2026-05-12 09:56:50 +02:00
15 lines
501 B
HTML
15 lines
501 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<link rel="help" href="http://www.w3.org/TR/css3-ui/#resize">
|
|
<link rel="match" href="resize-change-margin-ref.html">
|
|
<style>body { margin: 0 }</style>
|
|
<div id="target" style="width: 100px; height: 100px; resize: both; overflow: auto; border: 1px solid blue"></div>
|
|
<script>
|
|
requestAnimationFrame(() => {
|
|
requestAnimationFrame(() => {
|
|
target.style.marginTop = "40px";
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
});
|
|
});
|
|
</script>
|