blob: 3e5c6e9d6edd578ed7ac343fa44cf4b68d7b44b9 [file] [log] [blame]
<style>
body {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><g fill="#ccc"><rect width="5" height="5"/><rect x="5" y="5" width="5" height="5"/></g></svg>');
background-size: 100px 100px;
}
.box {
display: inline-block;
width: 60px;
height: 60px;
will-change: transform; // force compositing.
}
</style>
<p>These two rows should be identical</p>
<div class="box" style="background-color: red;"></div>
<div class="box" style="background-color: rgb(0, 255, 0);"></div>
<div class="box" style="background-color: blue;"></div>
<br>
<div class="box" style="background-color: red;"></div>
<div class="box" style="background-color: rgb(0, 255, 0);"></div>
<div class="box" style="background-color: blue;"></div>
<p>These two rows should be identical</p>
<div class="box" style="background-color: rgba(255, 0, 0, 0.6);"></div>
<div class="box" style="background-color: rgba(0, 255, 0, 0.6);"></div>
<div class="box" style="background-color: rgba(0, 0, 255, 0.6);"></div>
<br>
<div class="box" style="background-color: rgba(255, 0, 0, 0.6);"></div>
<div class="box" style="background-color: rgba(0, 255, 0, 0.6);"></div>
<div class="box" style="background-color: rgba(0, 0, 255, 0.6);"></div>