layout/reftests/first-letter/font-text-styles-floater-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/first-letter/font-text-styles-floater-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Testing first-letter handling of font/text styles</title>
     1.8 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     1.9 +
    1.10 +<style type="text/css">
    1.11 +html { overflow: hidden; }
    1.12 +body {
    1.13 +  margin: 20px;
    1.14 +  font-size: 600%;
    1.15 +  line-height: 1.2em;
    1.16 +  font-family: serif;
    1.17 +}
    1.18 +
    1.19 +div { width: 5em; }
    1.20 +p { width: 0.5em; margin: 0; font-style: italic; }
    1.21 +span.boldnormal { font-weight: bold; font-style: normal; }
    1.22 +p.floatingfirst::first-letter { float: left; }
    1.23 +</style>
    1.24 +
    1.25 +</head>
    1.26 +<body>
    1.27 +<div>
    1.28 +<p class="floatingfirst"><span class="boldnormal">G</span>onzo</p>
    1.29 +</div>
    1.30 +</body>
    1.31 +</html>

mercurial