Files
tubestation/testing/web-platform/tests/lifecycle/set-composited-layer-position.html
Blink WPT Bot 707c9189c4 Bug 1699270 [wpt PR 28120] - Mechanically change my email address, a=testonly
Automatic update from web-platform-tests
Mechanically change my email address (#28120)

This CL simply changes my email address in all layout tests,
and removes (in some cases) my full name.

Change-Id: I94602c858149c7ed9bcdff59e2ad671490347b4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2769284
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#863965}

Co-authored-by: Mason Freed <masonfreed@chromium.org>
--

wpt-commits: 98ed5928328dd2121d13752ec7c84e1e29c39f4b
wpt-pr: 28120
2021-03-20 03:59:30 +00:00

46 lines
936 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>Setting composited layer position paints properly</title>
<link rel="author" href="masonf@chromium.org">
<link rel="help" href="https://drafts.csswg.org/cssom-view-1/">
<link rel="match" href="set-composited-layer-position-ref.html">
<div id="box"></div>
<div id="tomove"></div>
<style>
div {
position: absolute;
top: 0;
left: 0;
will-change: transform;
width: 200px;
height: 200px;
}
#box {
background: red;
}
#tomove {
background: green;
top: 200px;
left: 200px;
filter: invert(0);
}
</style>
<script>
window.onload = function() {
requestAnimationFrame(function() {
requestAnimationFrame(function() {
tomove = document.getElementById("tomove");
tomove.style.top = 0;
tomove.style.left = 0;
document.documentElement.classList.remove("reftest-wait");
});
});
}
</script>
</html>