Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-ui/resize-change-margin.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>
/css/css-ui/resize-change-margin-ref.html
<!DOCTYPE html> <style>body { margin: 0 }</style> <div style="height: 40px"></div> <div style="width: 100px; height: 100px; resize: both; overflow: auto; border: 1px solid blue"></div>