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

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

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