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;
14 background-color: green;
17 /* Force a composited layer. */
18 -webkit-transform: translate3d(0,0,0);
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. */
30 background-color: red;
34 background-color: green;
40 <!-- Testing that the RenderObject is marked as part of the RenderFlowThread before it applies the first style.
41 The test should paint two green rectangles. There should be no red. -->
43 <div id="target"></div>
45 <div id="region1"></div><br />
46 <div id="region2"></div>