Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
| 3 | 3 |
| 4 <html lang="en"> | 4 <html lang="en"> |
| 5 <head> | 5 <head> |
| 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 7 <title>Transform on Document</title> | 7 <title>Transform on Document</title> |
| 8 </head> | 8 </head> |
| 9 <body style="background-color: gray"> | 9 <body style="background-image:url('../../compositing/repaint/resources/grid.png' )"> |
|
chrishtr
2015/06/09 21:07:52
Are you trying to test a new scenario? Why delete
trchen
2015/06/09 23:36:07
The old test is incorrect. The background color of
| |
| 10 <p>The portions of the view exposed by the transformed document should be painte d white</p> | 10 <p>The background of root element shall respect transform but expands to the who le viewport.</p> |
| 11 <script type="text/javascript" charset="utf-8"> | 11 <script type="text/javascript" charset="utf-8"> |
| 12 // do this dynamically to avoid pixels from the previous test in potentially u npainted areas | 12 // do this dynamically to avoid pixels from the previous test in potentially u npainted areas |
| 13 document.documentElement.style.webkitTransform = 'translateY(200px) rotate(20d eg)'; | 13 document.documentElement.style.webkitTransform = 'translateY(200px) rotate(20d eg)'; |
| 14 </script> | 14 </script> |
| 15 </body> | 15 </body> |
| 16 </html> | 16 </html> |
| OLD | NEW |