<!DOCTYPE html>
<html>
<head>
<title>measureText directionality</title>
<meta charset="utf-8">
<style>
canvas { background: green; }
</style>
</head>
<body>
<h1>measureText directionality</h1>
<canvas id="canvas" width="150" height="150"></canvas>
<p>
There should be a green box above with no red.
</p>
</body>
</html>