Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / PerformanceTests / Parser / query-selector-all-attribute-complex.html
blobd91b9d27d9d32097d356c9b0a22719356d48e218
1 <!DOCTYPE html>
2 <html>
3 <body>
5 <div class="foo" bar="baz">
6 <div class="foo" bar="baz">
7 <div class="foo" bar="baz">
8 <div class="foo" bar="baz"></div>
9 <div class="foo" bar="baz"></div>
10 <div class="foo" bar="baz"></div>
11 <div class="foo" bar="baz"></div>
12 <div class="foo" bar="baz"></div>
13 <div class="foo" bar="baz"></div>
14 <div class="foo" bar="baz"></div>
15 <div class="foo" bar="baz"></div>
16 <div class="foo" bar="baz"></div>
17 <div class="foo" bar="baz"></div>
18 </div>
19 <div class="foo" bar="baz"></div>
20 <div class="foo" bar="baz"></div>
21 <div class="foo" bar="baz"></div>
22 <div class="foo" bar="baz"></div>
23 <div class="foo" bar="baz"></div>
24 <div class="foo" bar="baz"></div>
25 <div class="foo" bar="baz"></div>
26 <div class="foo" bar="baz"></div>
27 <div class="foo" bar="baz"></div>
28 </div>
29 <div class="foo" bar="baz"></div>
30 <div class="foo" bar="baz"></div>
31 <div class="foo" bar="baz"></div>
32 <div class="foo" bar="baz"></div>
33 <div class="foo" bar="baz"></div>
34 <div class="foo" bar="baz"></div>
35 <div class="foo" bar="baz"></div>
36 <div class="foo" bar="baz"></div>
37 <div class="foo" bar="baz"></div>
38 </div>
39 <div class="foo" bar="baz"></div>
40 <div class="foo" bar="baz"></div>
41 <div class="foo" bar="baz"></div>
42 <div class="foo" bar="baz"></div>
43 <div class="foo" bar="baz"></div>
44 <div class="foo" bar="baz"></div>
45 <div class="foo" bar="baz"></div>
46 <div class="foo" bar="baz"></div>
47 <div class="foo" bar="baz"></div>
49 <script src="../resources/runner.js"></script>
50 <script>
51 PerfTestRunner.measureRunsPerSecond({
52 description: "This benchmark tests querySelectorAll() on complex attributes",
53 run: function() {
54 for (var i = 0; i < 1000; i++) {
55 document.querySelectorAll("[bar^=baz]");
56 document.querySelectorAll("[bar*=baz]");
58 }});
59 </script>
60 </body>
61 </html>