layout/reftests/canvas/text-space-replace-ref.html
author Oleg Romashin <romaxa@gmail.com>
Sun, 03 Aug 2008 21:10:34 +0300
changeset 16952 a8b558d55351a8ab4f0a064e95b4f8f766fb4db4
parent 15295 963ced95e2d1f10252fd3c54897d81b0883c9f05
permissions -rw-r--r--
Removed some not required changes which can break trunk build Removed empty lines changes

<!DOCTYPE HTML>
<html>
<head>
<title>Test to ensure whitespace characters are replaced with the space character</title>
</head>
<body>
<canvas id="c" width="128" height="64" style="direction:ltr"></canvas>
<script type="text/javascript">
  var canvas = document.getElementById('c');
  var ctx = canvas.getContext('2d');

  var str = 'a b c d e f';
  ctx.fillStyle = 'black';
  ctx.font = '20px sans-serif';
  ctx.fillText(str, 0, 32);

</script>
</body>
</html>