1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/385569-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<html> 1.5 +<head> 1.6 +<style> 1.7 +/* explicitly load a font that supports the "fi" ligature */ 1.8 +@font-face { 1.9 + font-family: test; 1.10 + src: url(../fonts/mplus/mplus-1p-regular.ttf); 1.11 +} 1.12 +body { 1.13 + font-family: test, serif; 1.14 + padding: 20px; 1.15 +} 1.16 +</style> 1.17 +<script> 1.18 +function m() 1.19 +{ 1.20 + document.body.offsetHeight; 1.21 + var parent = document.getElementById("parent"); 1.22 + parent.appendChild(document.createTextNode("i")); 1.23 +} 1.24 +</script> 1.25 +</head> 1.26 + 1.27 +<body onload="m();"> 1.28 +<div id="div" style="font-size: 40px"><span>if</span><span id="parent"></span></div> 1.29 +</body> 1.30 +</html>