OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=78787</title> | |
4 <script> | |
5 if (window.testRunner) | |
6 window.testRunner.overridePreference("WebKitCSSRegionsEnabled", "1"); | |
7 </script> | |
8 <style type="text/css"> | |
9 #content { | |
10 -webkit-flow-into: flow1; | |
11 } | |
12 | |
13 #target { height: 100px; background-color: red } | |
14 | |
15 #region1, #region2 { | |
16 -webkit-flow-from: flow1; | |
17 } | |
18 | |
19 #region1 { | |
20 width: 300px; | |
21 height: 150px; | |
22 border:1px solid black; | |
23 background-color:red; | |
24 } | |
25 | |
26 #region2 { | |
27 width: 300px; | |
28 height: 200px; | |
29 border:1px solid black; | |
30 background-color:red; | |
31 } | |
32 | |
33 </style> | |
34 <script src="resources/repaint.js" type="text/javascript"></script> | |
35 <script> | |
36 function repaintTest() | |
37 { | |
38 document.getElementById('target').style.height = '350px'; | |
39 document.getElementById('target').style.backgroundColor = 'green'; | |
40 } | |
41 </script> | |
42 </head> | |
43 <body onload="runRepaintTest();"> | |
44 <div id="content"> | |
45 <div id="target"></div> | |
46 </div> | |
47 | |
48 <div id="region1"></div><br/> | |
49 <div id="region2"></div> | |
50 </body> | |
51 </html> | |
OLD | NEW |