gfx/tests/reftest/709477-1-ref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>glyph clipping (reference)</title>
michael@0 5 <style>
michael@0 6 #clip { position: absolute;
michael@0 7 overflow: hidden;
michael@0 8 font-size: 16px;
michael@0 9 width: 500px;
michael@0 10 height: 300px;}
michael@0 11 /* Offsets keep the text far enough away from clip boundaries so that
michael@0 12 cairo knows the text is within the clip. Non-unit alpha color makes
michael@0 13 the bug show even without antialiasing. */
michael@0 14 #text { position: absolute;
michael@0 15 left: 100px;
michael@0 16 top: 100px;
michael@0 17 color: rgba(0,0,0,0.4)}
michael@0 18 #cover { position: absolute;
michael@0 19 top: 90px;
michael@0 20 left: 120px;
michael@0 21 height: 50px;
michael@0 22 width: 60px;
michael@0 23 background: transparent; }
michael@0 24 #mod { position: absolute;
michael@0 25 top: 400px;
michael@0 26 left: 0px;
michael@0 27 height: 2000px;
michael@0 28 width: 600px;
michael@0 29 background: transparent; }
michael@0 30 </style>
michael@0 31 </head>
michael@0 32 <body>
michael@0 33 <div id="clip">
michael@0 34 <div id="text">
michael@0 35 Some text that was</br>
michael@0 36 initially partially covered.</br>
michael@0 37 </div>
michael@0 38 </div>
michael@0 39 <div id="cover">
michael@0 40 </div>
michael@0 41 <div id="mod">
michael@0 42 </div>
michael@0 43 </body>
michael@0 44 <script>
michael@0 45 scrollTo(0,1);
michael@0 46 </script>
michael@0 47 </html>

mercurial