layout/reftests/text-overflow/standards-decorations-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-overflow/standards-decorations-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,72 @@
     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 +<html><head>
    1.10 +<title>text-overflow: Standards mode text-decorations</title>
    1.11 +<style type="text/css">
    1.12 +@font-face {
    1.13 +  font-family: Ahem;
    1.14 +  src: url(../fonts/Ahem.ttf);
    1.15 +}
    1.16 +@font-face {
    1.17 +  font-family: DejaVuSansMono;
    1.18 +  src: url(../fonts/DejaVuSansMono.woff);
    1.19 +}
    1.20 +html,body {
    1.21 +    color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
    1.22 +}
    1.23 +
    1.24 +.test {
    1.25 +  overflow:hidden;
    1.26 +  float:left;
    1.27 +  height:2em;
    1.28 +  white-space:pre;
    1.29 +  margin-left:1em;
    1.30 +  margin-bottom:1em;
    1.31 +  font-size:20px;
    1.32 +  color:blue;
    1.33 +}
    1.34 +span {
    1.35 +  font-size:16px;
    1.36 +  color:black;
    1.37 +}
    1.38 +.xspan {
    1.39 +  text-decoration: line-through;
    1.40 +}
    1.41 +.t1 .xspan {
    1.42 +}
    1.43 +.rlo {
    1.44 +  unicode-bidi: bidi-override; direction:rtl;
    1.45 +}
    1.46 +.lro {
    1.47 +  unicode-bidi: bidi-override;
    1.48 +}
    1.49 +.rtl {
    1.50 +  direction:rtl;
    1.51 +}
    1.52 +.ltr {
    1.53 +  direction:ltr;
    1.54 +}
    1.55 +.t1 { width:7.3em;}
    1.56 +.t2 { width:20px;}
    1.57 +.t3 { width:22px;}
    1.58 +.t4 { width:1px; font-family:Ahem; }
    1.59 +.t3 span {margin-left:14px; }
    1.60 +
    1.61 +m { font-size:20px; color:blue; }
    1.62 +
    1.63 +</style>
    1.64 +
    1.65 +</head><body>
    1.66 +
    1.67 +<div class="test t1"><span><span class="xspan">0123&nbsp;56789012</span><m>&#x2026;</m></span></div>
    1.68 +<div class="test rtl t1"><span><span class="xspan">1&nbsp;56789012345</span><m>&#x2026;</m></span></div>
    1.69 +<div class="test t2" style="color:black"><span class="xspan">xxxx</span></div>
    1.70 +<div class="test t3"><span class="xspan">x</span></div>
    1.71 +<div class="test t4"><span class="xspan">x</span></div>
    1.72 +
    1.73 +
    1.74 +</body>
    1.75 +</html>

mercurial