layout/reftests/text-overflow/xulscroll-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-overflow/xulscroll-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,80 @@
     1.4 +<!-- Any copyright is dedicated to the Public Domain.
     1.5 +   - http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.6 +<!DOCTYPE HTML>
     1.7 +<html><head>
     1.8 +    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     1.9 +    <title>Testcase for bug 672944</title>
    1.10 +    <style type="text/css">
    1.11 +@font-face {
    1.12 +  font-family: DejaVuSansMono;
    1.13 +  src: url(../fonts/DejaVuSansMono.woff),url(DejaVuSansMono.woff);
    1.14 +}
    1.15 +html,body {
    1.16 +    color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
    1.17 +}
    1.18 +	
    1.19 +  .bacon {
    1.20 +    white-space:    nowrap;
    1.21 +    text-overflow:  clip;
    1.22 +    overflow:       hidden;
    1.23 +    width:          30ch;
    1.24 +    display:        -moz-box;
    1.25 +    background:     lime;
    1.26 +    margin-bottom:  1em;
    1.27 +  }
    1.28 +
    1.29 +  .auto {
    1.30 +    overflow-x:       auto;
    1.31 +    width:          29.5ch;
    1.32 +    padding-bottom: 2ch;
    1.33 +  }
    1.34 +  .scroll {
    1.35 +    overflow:       auto;
    1.36 +    padding:        2ch;
    1.37 +    border:         3px solid black;
    1.38 +  }
    1.39 +  .scroll2 {
    1.40 +    overflow:       auto;
    1.41 +    padding:        3ch;
    1.42 +  }
    1.43 +  .scroll3 {
    1.44 +    overflow:       auto;
    1.45 +    padding:        2ch;
    1.46 +    text-indent:    -3ch;
    1.47 +  }
    1.48 +  .scroll4 {
    1.49 +    overflow:       auto;
    1.50 +    padding:        2ch 0.2ch;
    1.51 +  }
    1.52 +span { background-color:white; position: relative; }
    1.53 +ml3 {position: absolute; left:29ch; }
    1.54 +
    1.55 +#block-hover {
    1.56 +  position:fixed;
    1.57 +  top:0;left:0;width:100%;height:100%;
    1.58 +}
    1.59 +    </style>
    1.60 +</head>
    1.61 +<body>
    1.62 +
    1.63 +<div style="float:right;" dir="rtl">
    1.64 +  <div class="bacon"><span>1Beef hamburger bacon tri-tip&#x2026; jowl biltong tail ribeye ham</span></div><br>
    1.65 +  <div class="bacon auto"><span>2Beef hamburger bacon tri-&nbsp;ipJOWLBILTONG tail ribeye ham</span></div><br>
    1.66 +  <div class="bacon scroll"><span>3Beef hamburger bacon tri&nbsp;&nbsp;&nbsp;pJOWLBILTONG tail ribeye ham</span></div><br>
    1.67 +  <div class="bacon scroll2"><span>4Beef hamburger bacon tr&nbsp;&nbsp;&nbsp;&nbsp;pJOWLBILTONG tail ribeye ham</span></div><br>
    1.68 +  <div class="bacon scroll3"><span>5Beef hamburger bacon&nbsp;&nbsp;&nbsp;&nbsp;-tipJOWLBILTONG tail ribeye ham</span></div><br>
    1.69 +  <div class="bacon scroll4"><span>6Beef hamburger bacon tri-&nbsp;&nbsp;pJOWLBILTONG tail ribeye ham</span></div><br>
    1.70 +</div>
    1.71 +
    1.72 +<div>
    1.73 +  <div class="bacon"><span>1Beef hamburger bacon tri-tip&#x2026; jowl biltong tail ribeye ham</span></div><br>
    1.74 +  <div class="bacon auto"><span>2Beef hamburger bacon tri-tip&nbsp;OWLBILTONG tail ribeye ham</span></div><br>
    1.75 +  <div class="bacon scroll"><span>3Beef hamburger bacon tri-tipJ WLBILTONG tail ribeye ham</span></div><br>
    1.76 +  <div class="bacon scroll2"><span>4Beef hamburger bacon tri-tipJO LBILTONG tail ribeye ham</span></div><br>
    1.77 +  <div class="bacon scroll3"><span>5Beef hamburger bacon tri-tipJOWL ILTONG tail ribeye ham</span></div><br>
    1.78 +  <div class="bacon scroll4"><span>6Beef hamburger bacon tri-ti JOWLBILTONG tail ribeye ham</span></div><br>
    1.79 +</div>
    1.80 +
    1.81 +<div id="block-hover"></div>
    1.82 +</body>
    1.83 +</html>

mercurial