layout/reftests/pagination/border-breaking-001-cols.xhtml

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3 <head>
michael@0 4 <title>Pagination with Borders</title>
michael@0 5 <style type="text/css">
michael@0 6 .container {
michael@0 7 height: 0;
michael@0 8 padding-bottom: 10px;
michael@0 9 border-bottom: 10px solid transparent;
michael@0 10 margin-bottom: -20px;
michael@0 11 }
michael@0 12 .overflow {
michael@0 13 position: relative;
michael@0 14 background: aqua;
michael@0 15 height: 500px;
michael@0 16 width: 40px;
michael@0 17 border: 10px solid red;
michael@0 18 border-style: none solid;
michael@0 19 }
michael@0 20 body > .container .overflow {
michael@0 21 border-right: none;
michael@0 22 }
michael@0 23 .abs {
michael@0 24 position: relative;
michael@0 25 }
michael@0 26 .abs .container {
michael@0 27 position: absolute;
michael@0 28 width: 100%;
michael@0 29 margin-left: 50px;
michael@0 30 }
michael@0 31 .abs .overflow {
michael@0 32 background: lime;
michael@0 33 border-left: none;
michael@0 34 }
michael@0 35 .long {
michael@0 36 position: relative;
michael@0 37 height: 500px;
michael@0 38 border: solid 10px green;
michael@0 39 border-style: none solid;
michael@0 40 }
michael@0 41
michael@0 42 .block {
michael@0 43 background: yellow;
michael@0 44 height: 100px;
michael@0 45 }
michael@0 46
michael@0 47 body {
michael@0 48 height: 200px;
michael@0 49 width: 300px;
michael@0 50 -moz-column-width: 100px;
michael@0 51 -moz-column-gap: 0;
michael@0 52 -moz-column-fill: auto;
michael@0 53 border: solid silver;
michael@0 54 border-style: none solid;
michael@0 55 }
michael@0 56 </style>
michael@0 57 </head>
michael@0 58 <body>
michael@0 59 <div class="abs">
michael@0 60 <div class="container">
michael@0 61 <div class="overflow">
michael@0 62 </div>
michael@0 63 </div>
michael@0 64 </div>
michael@0 65 <div class="container">
michael@0 66 <div class="overflow">
michael@0 67 </div>
michael@0 68 </div>
michael@0 69 <div class="long">
michael@0 70 </div>
michael@0 71 <div class="block">
michael@0 72 </div>
michael@0 73 </body>
michael@0 74 </html>

mercurial