blob: 02397c5aaaa06c1404ce3c5daf7b420f99930e87 [file] [log] [blame]
<!DOCTYPE html>
body {
direction: rtl;
margin: 0px;
#layer {
position: absolute;
top: 50px;
right: 50px;
width: 100px;
height: 100px;
background-color: red;
#root {
width: 1000px;
height: 1000px;
function doTest() {
if (window.testRunner) {
// This test passes if this element is repainted correctly, even
// on a page that is composited and has horizontal overflow.
var elem = document.getElementById("layer"); = "green";
window.addEventListener('load', doTest, false);
<div id="layer" class=""></div>
<div id="root"></div>