| <link rel="stylesheet" href="resources/regions.css" type="text/css"></link> |
| <script src="../resources/runner.js"></script> |
| <script src="resources/regions.js"></script> |
| function createRegionsSelectAllMixedContentTest(regionCount) { |
| var article = createArticle(regionCount, 1); |
| article.className = "articleInFlow"; |
| var container = createMixedContent(regionCount); |
| document.body.appendChild(article); |
| document.body.appendChild(container); |
| description: "Testing selection with mixed content (" + regionCount + " regular paragraphs and " + regionCount + " regions). Select text using select all command.", |
| document.execCommand('SelectAll'); |
| window.getSelection().removeAllRanges(); |
| document.body.removeChild(article); |
| document.body.removeChild(container); |
| templateParagraph = null; |
| PerfTestRunner.measureTime(createRegionsSelectAllMixedContentTest(1000)); |