jchaffraix@webkit.org | 23facba | 2012-05-02 17:17:14 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <style> |
| 5 | div { |
| 6 | width: 100px; |
| 7 | height: 100px; |
| 8 | } |
| 9 | |
| 10 | #overflowHidden { |
| 11 | overflow: hidden; |
| 12 | background: purple; |
| 13 | } |
| 14 | |
| 15 | #transformed { |
| 16 | -webkit-transform: rotate(45deg) translate3d(0, 0, 0); |
| 17 | background: green; |
| 18 | } |
| 19 | </style> |
| 20 | </head> |
| 21 | <body> |
| 22 | <p> Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=83954">83954</a>: REGRESSION(110072): Clipping is not applied on layers that are animated using platform code</p> |
| 23 | <p> This passes if the green transformed square doesn't split out of the purple square.</p> |
| 24 | <div id="overflowHidden"> |
| 25 | <div id="transformed"></div> |
| 26 | </div> |
| 27 | </body> |
| 28 | </html> |