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

Side by Side Diff: Source/WebKit/chromium/tests/data/fixed-position.html

Issue 13828004: Avoid compositing fixed-position elements if they cannot scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 8 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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style type="text/css"> 4 <style type="text/css">
5 #fixed { 5 #fixed {
6 position: fixed; 6 position: fixed;
7 } 7 }
8 </style> 8 </style>
9 </head> 9 </head>
10 10
11 <body> 11 <!-- Fixed position elements may skip compositing without a scrollable
12 ancestor. To make sure this test covers the intended scenario, we force the
13 body element to be tall, so that the FrameView is scrolling. -->
14 <body style="height: 4000px">
12 <div id="fixed"> 15 <div id="fixed">
13 Fixed positioned. 16 Fixed positioned.
14 </div> 17 </div>
15 </body> 18 </body>
16 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698