Files
sousa-gecko/testing/web-platform/tests/css/css-transforms/transform-scroll-child-tweak-crash.html
T
Philip Rogers a74b4e36c8 Bug 1988272 [wpt PR 54817] - Remove dump() from transform-scroll-child-tweak-crash.html, a=testonly
Automatic update from web-platform-tests
Remove dump() from transform-scroll-child-tweak-crash.html

I think this was likely just accidentally left in the test.

Fixed: 444012412
Change-Id: If3e56d74a0ca7ab09c793e6487cc6e8bfbea45c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6941523
Auto-Submit: Philip Rogers <pdr@chromium.org>
Reviewed-by: Scott Haseley <shaseley@chromium.org>
Commit-Queue: Scott Haseley <shaseley@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1514491}

--

wpt-commits: bb9f6b19d84ac63890739385fc644b5152182fcc
wpt-pr: 54817
2025-09-16 08:38:52 +00:00

73 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html class="test-wait">
<style>
* {
pointer-events: none;
}
.transformed {
width: 200px;
height: 200px;
transform: translate(10px, 10px);
}
.scrollcontainer {
width: 150px;
height: 150px;
overflow: auto;
scrollbar-width: none;
}
#container {
width: 10px;
height: 200px;
}
#thediv1 {
width: 2px; height: 2px;
background: green;
}
</style>
<div class="transformed">
<div class="scrollcontainer" id="scrollcontainer">
<div id="container">
<div id="thediv1"></div>
</div>
</div>
</div>
<script>
function promiseFrame() {
return new Promise(resolve => window.requestAnimationFrame(resolve));
}
function finish() {
document.documentElement.className = "";
}
function tweak2() {
document.getElementById("container").style.height = "100px";
document.getElementById("scrollcontainer").style.overflow = "visible";
requestAnimationFrame(finish);
}
function tweak() {
document.getElementById("thediv1").style.background = "red";
requestAnimationFrame(tweak2);
}
async function start() {
await promiseFrame();
await promiseFrame();
tweak();
await promiseFrame();
await promiseFrame();
tweak2();
await promiseFrame();
await promiseFrame();
finish();
}
window.onload = () => {
requestAnimationFrame(start);
};
</script>
</html>