layout/reftests/text-overflow/table-cell-ref.html

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>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/licenses/publicdomain/
michael@0 5 -->
michael@0 6 <html><head>
michael@0 7 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
michael@0 8 <title>Test text-overflow:ellipsis on table-cell</title>
michael@0 9 <style type="text/css">
michael@0 10 @font-face {
michael@0 11 font-family: DejaVuSansMono;
michael@0 12 src: url(../fonts/DejaVuSansMono.woff);
michael@0 13 }
michael@0 14 html,body {
michael@0 15 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
michael@0 16 }
michael@0 17
michael@0 18
michael@0 19 .table {
michael@0 20 color: black;
michael@0 21 display: table;
michael@0 22 table-layout: fixed;
michael@0 23 height: 5em;
michael@0 24 width: 5em;
michael@0 25 }
michael@0 26 .row {
michael@0 27 display: table-row;
michael@0 28 }
michael@0 29 .cell {
michael@0 30 display: table-cell;
michael@0 31 white-space: nowrap;
michael@0 32 overflow: hidden;
michael@0 33 }
michael@0 34 </style>
michael@0 35 </head>
michael@0 36 <body>
michael@0 37 <div class="table">
michael@0 38 <div class="row">
michael@0 39 <div class="cell">|||||||&#x2026;</div>
michael@0 40 </div>
michael@0 41 <div class="row">
michael@0 42 <div class="cell"><span>|||||||&#x2026;</span></div>
michael@0 43 </div>
michael@0 44 </div>
michael@0 45 </body></html>

mercurial