OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .elementSize { | |
6 width: 50px; | |
7 height: 50px; | |
8 } | |
9 | |
10 #div1 { | |
11 -webkit-flow-into: flowA; | |
12 /* Force a composited RenderLayer for the content inside a flow thread.
*/ | |
13 -webkit-transform: scale3d(1, 1, 1); | |
14 background-color: green; | |
15 } | |
16 | |
17 #region1 { | |
18 -webkit-flow-from: flowA; | |
19 background-color: red; | |
20 } | |
21 </style> | |
22 </head> | |
23 <body> | |
24 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=84900"> [CSS Region
s] Enable accelerated layers on elements inside a RenderFlowThread</a>.</p> | |
25 <p>Test that an element requiring a composited layer, collected in a flow thread
, is displayed correctly inside a region.</p> | |
26 <p>On success, you should not see a red rectangle below.</p> | |
27 <div id="div1" class="elementSize"></div> | |
28 <div id="region1" class="elementSize"></div> | |
29 </body> | |
30 </html> | |
OLD | NEW |