layout/reftests/text-overflow/quirks-line-height-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-line-height-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,57 @@
     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 line height</title>
    1.10 +<style type="text/css">
    1.11 +@font-face {
    1.12 +  font-family: DejaVuSansMono;
    1.13 +  src: url(../fonts/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 +.test {
    1.20 +  overflow:hidden;
    1.21 +
    1.22 +  float:left;
    1.23 +  white-space:pre;
    1.24 +  margin-left:1em;
    1.25 +  margin-bottom:1em;
    1.26 +  font-size:24px; 
    1.27 +  color:blue;
    1.28 +  border:1px solid black;
    1.29 +  position:relative;
    1.30 +}
    1.31 +span {
    1.32 +  font-size:16px;
    1.33 +  color:black;
    1.34 +}
    1.35 +.rlo {
    1.36 +  unicode-bidi: bidi-override; direction:rtl;
    1.37 +}
    1.38 +.lro {
    1.39 +  unicode-bidi: bidi-override;
    1.40 +}
    1.41 +.rtl {
    1.42 +  direction:rtl;
    1.43 +}
    1.44 +.ltr {
    1.45 +  direction:ltr;
    1.46 +}
    1.47 +.t1 { width:4em; }
    1.48 +
    1.49 +m { font-size:24px; color:blue; line-height:8px; }
    1.50 +
    1.51 +</style>
    1.52 +
    1.53 +</head><body>
    1.54 +
    1.55 +<div class="test t1"><span>0123456|</span><m>&#x2026;</m></div>
    1.56 +<div class="test rtl rlo t1"><span>0123456|</span><m>&#x2026;</m></div>
    1.57 +
    1.58 +
    1.59 +</body>
    1.60 +</html>

mercurial