Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / PerformanceTests / Parser / textarea-parsing.html
blobf74583f7a8bf60ac004d46ed0f832db4ee361498
1 <!DOCTYPE html>
2 <body>
3 <style>
4 textarea:valid {
5 background-color: lime;
7 textarea:invalid {
8 background-color: red;
10 </style>
11 <script src="../resources/runner.js"></script>
12 <div id="container"></div>
13 <script>
14 var htmlText = "<textarea maxlength=2147483647>";
15 for (var i = 0; i < 1000; ++i) {
16 htmlText += "A quick brown fox jumps over the lazy dog.\n" +
17 "A quick brown fox jumps over the lazy dog.\n" +
18 "<!-- comment -->\n";
20 htmlText += "</textarea>"
22 var container = document.getElementById('container');
23 PerfTestRunner.measureRunsPerSecond({
24 description: "Measures performance of parsing within a <textarea> tag.",
25 run: function() {
26 container.innerHTML = htmlText;
28 });
29 </script>
30 </body>