layout/reftests/text-overflow/anonymous-block-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-overflow/anonymous-block-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,66 @@
     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: anonymous block</title>
    1.11 +<style type="text/css">
    1.12 +@font-face {
    1.13 +  font-family: DejaVuSansMono;
    1.14 +  src: url(../fonts/DejaVuSansMono.woff);
    1.15 +}
    1.16 +html,body {
    1.17 +    color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
    1.18 +}
    1.19 +
    1.20 +.test {
    1.21 +  overflow:hidden;
    1.22 +  width:50%;
    1.23 +  height:10em;
    1.24 +
    1.25 +  border:1px solid black;
    1.26 +  white-space:pre;
    1.27 +  margin-left:2em;
    1.28 +  margin-bottom:2em;
    1.29 +  line-height:1.5em;
    1.30 +}
    1.31 +i {
    1.32 +  display:inline-block;
    1.33 +  height: 3em;
    1.34 +  width: 5em;
    1.35 +  background: blue;
    1.36 +  font-style:normal;
    1.37 +}
    1.38 +span {
    1.39 +  position:relative;
    1.40 +  background:pink;
    1.41 +  top:40px;
    1.42 +  left:16em;
    1.43 +}
    1.44 +
    1.45 +.t1 {width:6em;}
    1.46 +.t2 {width:2em;}
    1.47 +.t3 {width:25em;}
    1.48 +.t4 {width:17.5em;}
    1.49 +
    1.50 +input { font-family:DejaVuSansMono; }
    1.51 +
    1.52 +</style>
    1.53 +
    1.54 +</head><body>
    1.55 +
    1.56 +
    1.57 +<div class="test t1"><x>Some ove<m>&#x2026;</m><span><i style="display:block;">anonymous<br>block</i>and</span> unin<m>&#x2026;</m></x></div>
    1.58 +<div class="test t2"><x>So<m>&#x2026;</m><i style="display:block;">anonymous<br>block</i>an<m>&#x2026;</m></x></div>
    1.59 +<div style="position:absolute;"><div class="test t3" style="border-style:none;padding:1px"><x>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<m style="padding-left:16em">&#x2026;</m></div></div>
    1.60 +<div class="test t3"><x>Some overly <span>l&nbsp;&nbsp;&nbsp;</span><span><i style="display:block;">anonymous<br>block</i>and</span> uninformative sentence</x></div>
    1.61 +<div class="test t4"><x>Some overly <m>&#x2026;</m><span>long<i style="display:block;">anonymous<br>block</i>a&nbsp;&nbsp;</span> uninformative sentence</x></div>
    1.62 +
    1.63 +<input size="4" placeholder="pla&#x2026;">
    1.64 +<input size="4" dir="rtl" placeholder="der&#x2026;">
    1.65 +<input size="4" placeholder="plaX">
    1.66 +<input size="4" dir="rtl" placeholder="Xder">
    1.67 +
    1.68 +</body>
    1.69 +</html>

mercurial