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

mercurial