layout/reftests/text-overflow/atomic-under-marker-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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: text-overflow with overflow where introducing a marker would cause
michael@0 7 the line to have no visible text or atomic inline-level content --
michael@0 8 then we should either suppress or clip the marker
michael@0 9 -->
michael@0 10 <html><head>
michael@0 11 <title>text-overflow: suppress or clip the marker when it hides all content</title>
michael@0 12 <style type="text/css">
michael@0 13 @font-face {
michael@0 14 font-family: DejaVuSansMono;
michael@0 15 src: url(../fonts/DejaVuSansMono.woff),url(DejaVuSansMono.woff);
michael@0 16 }
michael@0 17 html,body {
michael@0 18 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
michael@0 19 }
michael@0 20
michael@0 21 .test {
michael@0 22 overflow:hidden;
michael@0 23 width:100px;
michael@0 24 white-space:nowrap;
michael@0 25 margin:0 100px;
michael@0 26 }
michael@0 27 span {
michael@0 28 width:97px;
michael@0 29 display:inline-block;
michael@0 30 }
michael@0 31 s {
michael@0 32 width:3px;
michael@0 33 height:10px;
michael@0 34 margin-left:-2px;
michael@0 35 display:inline-block;
michael@0 36 background:blue;
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;
michael@0 43 }
michael@0 44 .rtl {
michael@0 45 direction:rtl;
michael@0 46 }
michael@0 47 .ltr {
michael@0 48 direction:ltr;
michael@0 49 }
michael@0 50
michael@0 51 .t1 { }
michael@0 52 .t2 { }
michael@0 53 .t3 { margin-left:98px; padding-left:3px; }
michael@0 54
michael@0 55 i {
michael@0 56 display:inline-block;
michael@0 57 width:2px;
michael@0 58 height:10px;
michael@0 59 background:blue;
michael@0 60 }
michael@0 61
michael@0 62 </style>
michael@0 63
michael@0 64 </head><body>
michael@0 65
michael@0 66 <div style="float:left;">
michael@0 67 <div class="test t1"><span>!</span>&#x2026;</div> <!-- atomic under marker -->
michael@0 68 <div class="test t1"><span>!</span>&#x2026;</div> <!-- atomic in padding -->
michael@0 69 <div class="test t1"><span>!</span>&#x2026;</div> <!-- atomic under marker and in padding -->
michael@0 70 <div class="test t2"><span>!</span>&#x2026;</div> <!-- atomic under marker -->
michael@0 71 <div class="test t2"><span>!</span>&#x2026;</div> <!-- atomic in padding -->
michael@0 72 <div class="test t2"><span>!</span>&#x2026;</div> <!-- atomic under marker and in padding -->
michael@0 73
michael@0 74 <div class="test rtl t1"><span>!</span>&#x2026;</div> <!-- atomic under marker -->
michael@0 75 <div class="test rtl t1"><span>!</span>&#x2026;</div> <!-- atomic in padding -->
michael@0 76 <div class="test rtl t1"><span>!</span>&#x2026;</div> <!-- atomic under marker and in padding -->
michael@0 77 <div class="test t2"><x style="margin-left:3px">.|</style></div> <!-- atomic under marker -->
michael@0 78 <div class="test t3">g<i></i></div> <!-- atomic in padding -->
michael@0 79 <div class="test t2"><s style="margin-left:1px;"></s><i style="width:17px"></i></div> <!-- atomic under marker and in padding -->
michael@0 80
michael@0 81 </div>
michael@0 82
michael@0 83
michael@0 84 </body>
michael@0 85 </html>

mercurial