3 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=102826</title>
6 window.testRunner.overridePreference("WebKitCSSRegionsEnabled", "1");
8 <style type="text/css">
10 -webkit-flow-into: flow1;
24 -webkit-flow-from: flow1;
28 /* Make sure that the content of the first region will display in a totally
29 different place than it would have been displayed if regions were not used. */
31 /* Force the composited mode on the current page. */
32 -webkit-transform: translate3d(0,0,0);
37 background-color: green;
41 <script src="resources/repaint.js" type="text/javascript"></script>
43 function repaintTest()
45 document.getElementById('target').style.backgroundColor = 'green';
49 <body onload="runRepaintTest();">
50 <!-- Testing that the repaint goes through the RenderRegions and not
51 directly to the viewport. You should see two green rectangles. -->
53 <div id="target"></div>
55 <div id="region1"></div>
56 <div id="region2"></div>