<!DOCTYPE html> | |
<script src="../resources/runner.js"></script> | |
<script src="resources/line-layout-perf-test.js"></script> | |
<style> | |
#container { | |
width: 400px; | |
word-break: break-all; | |
} | |
</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-break: break-all" with a very long word.'); | |
} | |
</script> | |
</body> |