layout/reftests/text-overflow/two-value-syntax.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-overflow/two-value-syntax.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,75 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<!--
     1.6 +    Any copyright is dedicated to the Public Domain.
     1.7 +    http://creativecommons.org/licenses/publicdomain/
     1.8 +
     1.9 +    Test: text-overflow:<left> <right>
    1.10 +-->
    1.11 +<html><head>
    1.12 +<title>text-overflow: text-overflow:&lt;left&gt; &lt;right&gt;</title>
    1.13 +<style type="text/css">
    1.14 +@font-face {
    1.15 +  font-family: DejaVuSansMono;
    1.16 +  src: url(../fonts/DejaVuSansMono.woff);
    1.17 +}
    1.18 +html,body {
    1.19 +    color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
    1.20 +}
    1.21 +
    1.22 +.test {
    1.23 +  overflow:hidden;
    1.24 +  width:100%;
    1.25 +  white-space:nowrap;
    1.26 +}
    1.27 +span {
    1.28 +  margin: 0 -2px;
    1.29 +}
    1.30 +.rlo {
    1.31 +  unicode-bidi: bidi-override; direction:rtl;
    1.32 +}
    1.33 +.lro {
    1.34 +  unicode-bidi: bidi-override;
    1.35 +}
    1.36 +.rtl {
    1.37 +  direction:rtl;
    1.38 +}
    1.39 +.ltr {
    1.40 +  direction:ltr;
    1.41 +}
    1.42 +
    1.43 +.t1 { text-overflow:ellipsis ellipsis; }
    1.44 +.t2 { text-overflow:ellipsis clip; }
    1.45 +.t3 { text-overflow:clip ellipsis; }
    1.46 +.t4 { text-overflow:clip "."; }
    1.47 +.t5 { text-overflow:"." clip; }
    1.48 +.t6 { text-overflow:"." ","; }
    1.49 +.t7 { text-overflow:ellipsis ","; }
    1.50 +.t8 { text-overflow:"." ellipsis; }
    1.51 +
    1.52 +</style>
    1.53 +
    1.54 +</head><body>
    1.55 +
    1.56 +<div style="float:left;">
    1.57 +|||||
    1.58 +<div class="test t1"><span>||||||</span></div>
    1.59 +<div class="test rtl t1"><span>||||||</span></div>
    1.60 +<div class="test t2"><span>||||||</span></div>
    1.61 +<div class="test rtl t2"><span>||||||</span></div>
    1.62 +<div class="test t3"><span>||||||</span></div>
    1.63 +<div class="test rtl t3"><span>||||||</span></div>
    1.64 +<div class="test t4"><span>||||||</span></div>
    1.65 +<div class="test rtl t4"><span>||||||</span></div>
    1.66 +<div class="test t5"><span>||||||</span></div>
    1.67 +<div class="test rtl t5"><span>||||||</span></div>
    1.68 +<div class="test t6"><span>||||||</span></div>
    1.69 +<div class="test rtl t6"><span>||||||</span></div>
    1.70 +<div class="test t7"><span>||||||</span></div>
    1.71 +<div class="test rtl t7"><span>||||||</span></div>
    1.72 +<div class="test t8"><span>||||||</span></div>
    1.73 +<div class="test rtl t8"><span>||||||</span></div>
    1.74 +</div>
    1.75 +
    1.76 +
    1.77 +</body>
    1.78 +</html>

mercurial