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

Side by Side Diff: LayoutTests/fast/events/touch/touch-active-state.html

Issue 211423002: Remove old touch-event based hover/active tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove expected output Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-active-state-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <script src="../../../resources/js-test.js"></script>
3 <style type="text/css">
4 #box {
5 background-color:blue;
6 width:100px;
7 height:100px;
8 }
9
10 #box:active {
11 visibility:hidden;
12 }
13
14 </style>
15 <body onload="runTest();">
16 <div id="box" ontouchstart="testComplete();">FAIL</div>
17
18 <p id="description"></p>
19 <div id="console"></div>
20
21 <script type="text/javascript">
22 description('Test touches set the active state.');
23
24 function testComplete(event)
25 {
26 isSuccessfullyParsed();
27 testRunner.notifyDone();
28 }
29
30 function runTest()
31 {
32 if (window.eventSender) {
33 // Touch the center of the div.
34 eventSender.addTouchPoint(50, 50);
35 eventSender.touchStart();
36 } else
37 debug('This test requires DRT.');
38 }
39
40 if (window.testRunner)
41 testRunner.waitUntilDone();
42 </script>
43 </body>
44 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-active-state-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698