Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: PerformanceTests/htmloptionsinherit.html

Issue 350803003: Perf check for bug (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update metric Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/htmloptionsinherit.html
diff --git a/PerformanceTests/htmloptionsinherit.html b/PerformanceTests/htmloptionsinherit.html
new file mode 100644
index 0000000000000000000000000000000000000000..86f00f0386ff5fd7b0f5300d245d7d03bf3aa732
--- /dev/null
+++ b/PerformanceTests/htmloptionsinherit.html
@@ -0,0 +1,27 @@
+<script src="resources/runner.js"></script>
+
+<style>
+option {
+ background: inherit;
+}
+</style>
+
+<object>
+ <progress>
+ <option id="element"></option>
+ </progress>
+</object>
+
+<script>
+requestAnimationFrame(function() {
+ requestAnimationFrame(function() {
+ PerfTestRunner.measureTime({
+ run: function() {
+ var start = Date.now();
+ if (element.getAttribute('badThings') == 'haveHappened')
+ while (Date.now() < start + 100);
+ },
+ });
+ });
+});
+</script>
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698