| <html> |
| <head> |
| <title>Bug 120457: [CSS Regions] The layers from the flow thread should be collected under the regions' layers.</title> |
| <style> |
| html { |
| -webkit-font-smoothing: none; |
| } |
| |
| #content { |
| width: 150px; |
| height: 100px; |
| background-color: Yellow; |
| padding: 2px 3px 4px 5px; |
| margin: 3px 4px 5px 6px; |
| } |
| |
| #causesTheRegionToBeComposited { |
| -webkit-transform: translateZ(-30px) translateX(-35px); |
| width: 100px; |
| height: 40px; |
| background-color: Lime; |
| padding: 4px 5px 6px 7px; |
| margin: 5px 6px 7px 8px; |
| } |
| |
| #region { |
| box-shadow: 2px 2px 15px Black; |
| border: double 3px Green; |
| border-width: 3px 4px 5px 6px; |
| outline: double 5px Blue; |
| padding: 6px 7px 8px 9px; |
| margin: 7px 8px 9px 10px; |
| } |
| </style> |
| </head> |
| <body> |
| some text 1. |
| <div id="region"> |
| <div id="content"> |
| some text 2. |
| <div id="causesTheRegionToBeComposited"> |
| some text 3. |
| </div> |
| some text 4. |
| </div> |
| </div> |
| some text 5. |
| <p>Make sure that the region propagates its borders, paddings, outlines or box-shadows to layers inside it.</p> |
| </body> |
| </html> |