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

Side by Side Diff: LayoutTests/compositing/rtl/rtl-fixed-overflow.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 <style> 3 <style>
4 body { 4 body {
5 direction: rtl; 5 direction: rtl;
6 margin: 0px; 6 margin: 0px;
7 background-color: red; 7 background-color: red;
8 } 8 }
9 9
10 .positioned { 10 .positioned {
11 position: fixed; 11 position: fixed;
12 top: 50px; 12 top: 50px;
13 left: 50px; 13 left: 50px;
14 width: 100px; 14 width: 100px;
15 height: 100px; 15 height: 100px;
16 } 16 }
17 17
18 .indicator { 18 .indicator {
19 background-color: red; 19 background-color: rgba(255, 0, 0, 0.99);
20 } 20 }
21 21
22 .layer { 22 .layer {
23 transform:translateZ(0);
24 background-color: green; 23 background-color: green;
25 } 24 }
26 25
27 #root { 26 #root {
28 width: 1000px; 27 width: 1000px;
29 height: 1000px; 28 height: 1000px;
30 background-color: white; 29 background-color: white;
31 } 30 }
32 31
33 #layertree { 32 #layertree {
(...skipping 13 matching lines...) Expand all
47 window.addEventListener('load', doTest, false); 46 window.addEventListener('load', doTest, false);
48 </script> 47 </script>
49 <body> 48 <body>
50 <div id="root"></div> 49 <div id="root"></div>
51 <div class="positioned indicator"></div> 50 <div class="positioned indicator"></div>
52 <div class="positioned layer"></div> 51 <div class="positioned layer"></div>
53 52
54 <pre id="layertree"></pre> 53 <pre id="layertree"></pre>
55 </body> 54 </body>
56 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698