wisemapping-frontend/packages/web2d/test/playground/text.html
Paulo Gustavo Veiga ef64af2141 Improve tests.
2021-12-12 14:28:32 -08:00

36 lines
1.1 KiB
HTML
Executable File

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Text Render Tests </h1>
<table>
</tbody>
<tr>
<td>
Simple text
</td>
<td>
<div id="text0"></div>
<div id="text1"></div>
<div id="text2"></div>
<div id="text3"></div>
<div id="text4"></div>
<div id="text5"></div>
</td>
</tr>
<!--**************************************************************************-->
</tbody>
</table>
<span>Text to Inspect: </span><input type="text" id="iesimo">
<input type="button" value="Inspect"
onclick="alert(document.getElementById('textoHTML'+document.id('iesimo').value).offsetWidth);">
<input type="button" value="Zoom In" onclick="zoomIn()">
</body>
</html>