layout/reftests/text-overflow/false-marker-overlap-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 Test: false marker overlap
michael@0 7 -->
michael@0 8 <html><head>
michael@0 9 <title>text-overflow: form control elements</title>
michael@0 10 <style type="text/css">
michael@0 11 @font-face {
michael@0 12 font-family: DejaVuSansMono;
michael@0 13 src: url(../fonts/DejaVuSansMono.woff);
michael@0 14 }
michael@0 15 html,body {
michael@0 16 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
michael@0 17 }
michael@0 18
michael@0 19 .test {
michael@0 20 overflow: hidden;
michael@0 21 white-space: nowrap;
michael@0 22 color: black;
michael@0 23 height: 6em;
michael@0 24 width: 32.5em;
michael@0 25 margin-bottom: 1em;
michael@0 26 }
michael@0 27
michael@0 28 i {
michael@0 29 display:inline-block;
michael@0 30 height: 3em;
michael@0 31 width: 3em;
michael@0 32 border:1px solid blue;
michael@0 33 text-shadow: none;
michael@0 34 }
michael@0 35 .rtl {
michael@0 36 direction:rtl;
michael@0 37 }
michael@0 38 .rlo {
michael@0 39 unicode-bidi: bidi-override; direction: rtl;
michael@0 40 }
michael@0 41 .lro {
michael@0 42 unicode-bidi: bidi-override; direction: ltr;
michael@0 43 }
michael@0 44
michael@0 45 s {
michael@0 46 float:right;
michael@0 47 width:3em;
michael@0 48 height:3em;
michael@0 49 margin-right:-0.6em;
michael@0 50 border:1px solid red;
michael@0 51 }
michael@0 52 .rtl s {
michael@0 53 float:left;
michael@0 54 margin-left:-0.6em;
michael@0 55 margin-right:0;
michael@0 56 }
michael@0 57 .overlap {margin-left:-0.6em;}
michael@0 58 .rtl .overlap {margin-right:-0.6em;margin-left:0;}
michael@0 59 .n {padding-left:0.6em;}
michael@0 60 .rtl .n {padding-right:0.6em;padding-left:0;}
michael@0 61 </style>
michael@0 62
michael@0 63 </head><body>
michael@0 64
michael@0 65 <div class="test"><font class="overlap"><s></s>&nbsp;<m>&#x2026;</m>| | | | | | | | | | | | | | | | | | | | | | <i class="n"></i></font></div>
michael@0 66 <div class="test"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i></i></font></div>
michael@0 67 <div class="test rtl"><font class="overlap"><s></s>&nbsp;<m>&#x2026;</m>| | | | | | | | | | | | | | | | | | | | | | <i class="n"></i></font></div>
michael@0 68 <div class="test rtl"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i></i></font></div>
michael@0 69
michael@0 70
michael@0 71 </body></html>

mercurial