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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/infrastructure/reftest-wait.html

Issue 2729863004: Support reftest-wait in web-platform-tests (Closed)
Patch Set: Add TestExpectations entry Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <title>Test infrastructure should support 'reftest-wait'</title>
4 <link rel="match" href="reftest-wait-ref.html">
5 <style>
6 .marker {
7 margin-bottom: 10px;
8 background: red;
9 height: 50px;
10 width: 50px;
11 }
12 </style>
13 <script>
14 setTimeout(function() {
15 document.querySelector(".marker").style.background = 'green';
16 document.documentElement.classList.remove("reftest-wait");
17 }, 1000);
18 </script>
19 <div class="marker"></div>
20 <div>The box above should be green.</div>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698