Index: PerformanceTests/ShadowDOM/shadow-style-share-media-query.html |
diff --git a/PerformanceTests/ShadowDOM/shadow-style-share.html b/PerformanceTests/ShadowDOM/shadow-style-share-media-query.html |
similarity index 74% |
copy from PerformanceTests/ShadowDOM/shadow-style-share.html |
copy to PerformanceTests/ShadowDOM/shadow-style-share-media-query.html |
index e6eb37d7d18a57b477c3301296f9ddec9ec940f0..29d9f482ca6c8fe818681499bf3c076991678578 100644 |
--- a/PerformanceTests/ShadowDOM/shadow-style-share.html |
+++ b/PerformanceTests/ShadowDOM/shadow-style-share-media-query.html |
@@ -1,12 +1,7 @@ |
<!doctype html> |
-<style> |
- div { |
- color: orange; |
- } |
-</style> |
<script src="../resources/runner.js"></script> |
<script> |
- var listSize = 100; |
+ var listSize = 1000; |
window.onload = function() { |
PerfTestRunner.measureTime({ |
run: function() { |
@@ -31,18 +26,14 @@ |
</script> |
<template id="tmpl"> |
<style> |
- .foo .bar .foo.bar.baz { |
- color: blue; |
- } |
- .bar.baz { |
- color: red; |
+ @media (max-width: 600px) { |
+ div { color: red; } |
} |
+ .foo { color: black; } |
+ .bar { color: blue; } |
+ .baz { color: green; } |
+ .bat { color: orange; } |
</style> |
- <div class="foo"> |
- <div class="bar"> |
- <div class="foo bar baz">item</div> |
- </div> |
- </div> |
- <content></content> |
+ <div>item</div> |
</template> |
<section id="list"></section> |