<!DOCTYPE html> | |
<script src="../resources/runner.js"></script> | |
<script src="resources/line-layout-perf-test.js"></script> | |
<style> | |
#container { | |
width: 400px; | |
word-wrap: break-word; | |
} | |
</style> | |
<body onload="run()"> | |
<div id="container"></div> | |
<script> | |
'use strict'; | |
function run() { | |
var test = new LongWordPerfTest(container, 100 * 1000); | |
test.run('Measures performance of "word-wrap: break-word" with a very long word.'); | |
} | |
</script> | |
</body> |