blob: e5b662e4804727754f64b5f2730db98d42acf8ba [file] [log] [blame]
<html>
<head>
<title>Test for https://bugs.webkit.org/show_bug.cgi?id=69932</title>
<script>
if (window.testRunner)
window.testRunner.overridePreference("WebKitCSSRegionsEnabled", "1");
</script>
<style type="text/css">
#content {
-webkit-flow-into: flow1;
position:relative;
padding-top:1000px;
}
#target { height: 200px; background-color: red }
#region1, #region2, #region3 {
-webkit-flow-from: flow1;
}
#region1 {
width: 300px;
height: 1000px;
background-color:red
}
#region2 {
width: 100%;
height: 180px;
border:1px solid black;
background-color:red
}
</style>
<script src="resources/repaint.js" type="text/javascript"></script>
<script>
function repaintTest()
{
document.getElementById('target').style.fontSize = '36px';
document.getElementById('target').style.backgroundColor = 'green';
}
</script>
</head>
<body onload="runRepaintTest();">
<div id="content"><div><div id="target"></div></div>
</div>
<div style="position:absolute;width:0;height:0;overflow:hidden">
<div id="region1"></div>
</div>
<div id="region2"></div>
</body>
</html>