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

Side by Side Diff: third_party/WebKit/LayoutTests/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages.html

Issue 1575983002: Display fixed position objects on every page of paged media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style media="print">
3 #myheader
4 {
5 position: fixed;
6 top: 0;
7 left: 0;
8 width: 500px;
9 border: 5px solid black;
10 }
11 </style>
12 <script>
13 if (window.testRunner)
14 testRunner.setPrinting();
15 </script>
16 <div id="myheader">
17 <div>
18 crbug.com/303728: Header Line should be repeated on every page except wh ere it's clipped by the absolute element on pages 3 and 4.
19 <hr/>
20 </div>
21 </div>
22 <div style="position: absolute; left: 0px; top: 1000px; width: 600px; height: 20 00px; background-color: black; z-index: 2">Absolute</div>
23 <div style="height: 5000px"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698