layout/reftests/text-overflow/table-cell-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-overflow/table-cell-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     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 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    1.11 +        <title>Test text-overflow:ellipsis on table-cell</title>
    1.12 +        <style type="text/css">
    1.13 +@font-face {
    1.14 +  font-family: DejaVuSansMono;
    1.15 +  src: url(../fonts/DejaVuSansMono.woff);
    1.16 +}
    1.17 +html,body {
    1.18 +    color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
    1.19 +}
    1.20 +
    1.21 +
    1.22 +            .table {
    1.23 +                color: black;
    1.24 +                display: table;
    1.25 +                table-layout: fixed;
    1.26 +                height: 5em;
    1.27 +                width: 5em;
    1.28 +            }
    1.29 +            .row {
    1.30 +                display: table-row;
    1.31 +            }
    1.32 +            .cell {
    1.33 +                display: table-cell;
    1.34 +                white-space: nowrap;
    1.35 +                overflow: hidden;
    1.36 +            }
    1.37 +        </style>
    1.38 +    </head>
    1.39 +    <body>
    1.40 +        <div class="table">
    1.41 +            <div class="row">
    1.42 +                <div class="cell">|||||||&#x2026;</div>
    1.43 +            </div>
    1.44 +            <div class="row">
    1.45 +                <div class="cell"><span>|||||||&#x2026;</span></div>
    1.46 +            </div>
    1.47 +        </div>
    1.48 +</body></html>

mercurial