layout/reftests/text-overflow/marker-shadow-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-overflow/marker-shadow-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     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>
    1.10 +<head>
    1.11 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    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 +
    1.18 +div {
    1.19 +  font-family: DejaVuSansMono;
    1.20 +  padding-left: 1em;
    1.21 +}
    1.22 +
    1.23 +/* We put the text and marker into separate spans, because
    1.24 +   overflow markers (and their shadows) are drawn separately
    1.25 +   from the text frame. */
    1.26 +span {
    1.27 +  text-shadow: -0.5em 3px 2px red;
    1.28 +}
    1.29 +</style>
    1.30 +</head>
    1.31 +<body>
    1.32 +
    1.33 +<div><span>Hello</span><span>...</span></div>
    1.34 +
    1.35 +</body>
    1.36 +</html>

mercurial