1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/canvas/693610-1-notref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 1.8 +</head> 1.9 +<body> 1.10 +<p><canvas width="500" height="200" id="c"></canvas></p> 1.11 +<script type="text/javascript"> 1.12 +const t1 = '你好'; 1.13 +const t2 = 'Hello'; 1.14 +var c = document.getElementById('c').getContext('2d'); 1.15 +c.font = 'serif'; 1.16 +c.fontSize = '15'; 1.17 +c.fillText(t1, 10, 100); 1.18 +c.fillText(t2, 10, 100); 1.19 +</script> 1.20 +</body> 1.21 +</html>