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

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

Issue 19906002: Move data/ directory from WebKit/chromium/tests into web/tests/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .fixed {
6 position: fixed;
7 }
8 .top {
9 top: 1px;
10 }
11 .bottom {
12 bottom: 1px;
13 }
14 .left {
15 left: 1px;
16 }
17 .right {
18 right: 1px;
19 }
20 </style>
21 </head>
22
23 <!-- Fixed position elements may skip compositing without a scrollable
24 ancestor. To make sure this test covers the intended scenario, we force the
25 body element to be tall, so that the FrameView is scrolling. -->
26 <body style="height: 4000px">
27 <div id="div-tl" class="fixed top left">X</div>
28 <div id="div-tr" class="fixed top right">X</div>
29 <div id="div-bl" class="fixed bottom left">X</div>
30 <div id="div-br" class="fixed bottom right">X</div>
31 <span id="span-tl" class="fixed top left">X</span>
32 <span id="span-tr" class="fixed top right">X</span>
33 <span id="span-bl" class="fixed bottom left">X</span>
34 <span id="span-br" class="fixed bottom right">X</span>
35 </body>
36 </html>
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/tests/data/first_party.html ('k') | Source/WebKit/chromium/tests/data/fixed_layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698