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

Side by Side Diff: Source/web/tests/data/fixed-position-losing-backing.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #fixed { 3 #fixed {
4 position: fixed; 4 position: fixed;
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 background-color: yellow; 7 background-color: yellow;
8 transform: translateZ(0);
9 } 8 }
10 9
11 #bloat { 10 #bloat {
12 height: 10000px; 11 height: 10000px;
13 } 12 }
14 </style> 13 </style>
15 <div id="fixed"></div> 14 <div id="fixed"></div>
16 <div id="bloat"></div> 15 <div id="bloat"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698