Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: LayoutTests/fast/transforms/transformed-document-element.html

Issue 1145993002: Refactor root element background painting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698