1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text/synthetic-bold-metrics-01.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<style type="text/css"> 1.8 +@font-face { 1.9 + font-family: dvsm; 1.10 + src: url(../fonts/DejaVuSansMono.woff); 1.11 +} 1.12 + 1.13 +p { 1.14 + font-family: dvsm; /* family with only a single weight */ 1.15 +} 1.16 + 1.17 +.test { 1.18 + color: white; /* hide the text, we're only comparing metrics */ 1.19 + font-weight: bold; /* synthetic bold will be used */ 1.20 +} 1.21 +</style> 1.22 +</head> 1.23 +<body> 1.24 +<p>AbcdefghijklmnopqrstuvwxyZ</p> 1.25 +<!-- the "test" span here uses synthetic bold, which should cause the following 1.26 + 'Z' to appear further to the right --> 1.27 +<p>A<span class="test">bcdefghijklmnopqrstuvwxy</span>Z</p> 1.28 +</body> 1.29 +</html>