| 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>
|
|
|