Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-will-change/will-change-transform-add-content.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="will-change-transform-add-content-ref.html">
<script src="/common/reftest-wait.js"></script>
<script src="/common/rendering-utils.js"></script>
<div id="target" style="width: 200px; height: 100px; will-change: transform"></div>
<script>
waitForAtLeastOneFrame().then(() => {
target.textContent = 'This text should be visible.';
takeScreenshot();
});
</script>