blob: 74bf84dfc543dfe0689028a18cecd573dd7ca45e [file] [log] [blame]
<html>
<head><script type="text/javascript" src="resources/lookup-test.js"></script></head>
<body onload="runTest()">
<!-- Plain text should be available to look up. -->
<div>Some text to <span class="lookupInCenter" data-name="normal text">look</span> up.</div>
<!-- Title-case phrases should be looked up as a unit. -->
<div>I love <span class="lookupInCenter" data-name="title-case phrase">New</span> York.</div>
<!-- Unselectable text should not be looked up. -->
<div style="-webkit-user-select: none;">Some text to <span class="lookupInCenter" data-name="unselectable text">look</span> up.</div>
</body>
</html>