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

Side by Side Diff: LayoutTests/fast/repaint/fixed.html

Issue 1298493003: Currently we only composite fixed position elements if we are on High DPI devices. This fix allows … Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove similarity check Created 5 years, 3 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title></title> 3 <title></title>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 window.onload = function() { 6 window.onload = function() {
7 window.scrollTo(0, 20); 7 window.scrollTo(0, 20);
8 runRepaintTest(); 8 runRepaintTest();
9 }; 9 };
10 10
11 function repaintTest() 11 function repaintTest()
12 { 12 {
13 document.getElementById('t').style.background='green'; 13 document.getElementById('t').style.background='rgba(0, 128, 0, 0.99) ';
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body style="height:2000px;"> 17 <body style="height:2000px;">
18 <p style="position: relative; top: 20px;"> 18 <p style="position: relative; top: 20px;">
19 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1145 2">http://bugs.webkit.org/show_bug.cgi?id=11452</a> 19 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1145 2">http://bugs.webkit.org/show_bug.cgi?id=11452</a>
20 REGRESSION (r16736-r16801): Incorrect repaint of fixed boxes</i>. 20 REGRESSION (r16736-r16801): Incorrect repaint of fixed boxes</i>.
21 </p> 21 </p>
22 <div id="t" style="position: fixed; width: 100px; height: 100px; background: red"></div> 22 <div id="t" style="position: fixed; width: 100px; height: 100px; background- color: rgba(255, 0, 0, 0.99);"></div>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698