layout/reftests/abs-pos/font-size-wrap-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/abs-pos/font-size-wrap-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     1.5 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 +<head>
     1.8 +<title>Based on testcase #3 for bug 310451</title>
     1.9 +
    1.10 +<style type="text/css">
    1.11 +  body { font-size: 16px;  }
    1.12 +  div  { position: absolute; border:1px solid black; }
    1.13 +</style>
    1.14 +
    1.15 +<script type="text/javascript">//<![CDATA[
    1.16 +window.onload = function() {
    1.17 +	var newSize = '32px';
    1.18 +	document.body.style.fontSize = newSize;
    1.19 +}
    1.20 +
    1.21 +//]]></script>
    1.22 +
    1.23 +</head>
    1.24 +<body>
    1.25 +
    1.26 +<div style="top:40px;">
    1.27 +	this text should be on one line <b>and not wrap</b>
    1.28 +</div>
    1.29 +</body>
    1.30 +</html>

mercurial