1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Fixed content outside the page area</title>
5 <link rel="author" title="Melinda Grant" href="mailto:melinda.grant@hp.com">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#fixed-positioning">
7 <meta name="flags" content="paged image">
8 <meta name="assert" content="Any portion of an element with 'position: fixed' which is positioned outside the page area is not printed.">
9 <style type="text/css">
10
11 img {
12 position: fixed;
13 top: 0;
14 right: -86px;
15 }
16 div {
17 page-break-after: always;
18 padding-top: 50px;
19 }
20
21 </style>
22 </head>
23 <body>
24 <div>
25 <img alt="FAIL: image failed to load" src="support/cssom.png">
26 <p>When displayed on paged media, this test produces two pages.</p>
27 <p>A portion of a logo containing six blue squares appears in the upper right corner of the page, but the characters 'CSS' are not visible on either this page or the second page.</p>
28 </div>
29 <div>
30 This text appears on page two. The logo on this page looks exactly like the one on the first page.
31 </div>
32 </body>
33 </html>