summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/compositing/root-element-opacity-change.html
blob: de2599de4911dc99c997de16d8908a180e4f3bc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype HTML>
<html class="test-wait" style="font-size: 200px; opacity: 0.5">
<link rel="help" href="https://drafts.fxtf.org/compositing/#pagebackdrop">
<link rel="match" href="root-element-opacity-change-ref.html">
<meta name="assert" content="View background should be white after opacity changes from 0.5 to 1">
<script src="/common/rendering-utils.js"></script>
TEST
<script>
waitForAtLeastOneFrame().then(() => {
  document.documentElement.style.opacity=1;
  document.documentElement.classList.remove('test-wait');
});
</script>
</html>