| Index: third_party/WebKit/PerformanceTests/Layout/long-line-nowrap-collapse.html
|
| diff --git a/third_party/WebKit/PerformanceTests/Layout/long-line-nowrap-collapse.html b/third_party/WebKit/PerformanceTests/Layout/long-line-nowrap-collapse.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f53b3f8b4d8889d0e7f0a584d0d571bb704faf6f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/PerformanceTests/Layout/long-line-nowrap-collapse.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/runner.js"></script>
|
| +<script src="resources/line-layout-perf-test.js"></script>
|
| +<style>
|
| +#container {
|
| + width: 400px;
|
| + white-space: nowrap;
|
| +}
|
| +</style>
|
| +<body onload="run()">
|
| +<div id="container"></div>
|
| +<script>
|
| +'use strict';
|
| +
|
| +function run() {
|
| + var test = new LineLayoutPerfTest(container);
|
| + test.spanCount = 0;
|
| + test.lineCount = 800;
|
| + test.wordSeparator = ' '; // Make all word separators collapsible.
|
| + test.run('Measures performance of "white-space: nowrap" with collapsible spaces.');
|
| +}
|
| +</script>
|
| +</body>
|
|
|