OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
Inactive
2014/08/06 21:40:43
missing DOCTYPE.
| |
2 <head> | |
3 <script src="../../resources/js-test.js"></script> | |
4 </head> | |
5 <script> | |
Inactive
2014/08/06 21:44:38
Missing a description("...");
| |
6 function runtest(){ | |
Inactive
2014/08/06 21:40:43
missing space before {
| |
7 if (!window.testRunner) | |
Inactive
2014/08/06 21:40:43
not needed.
| |
8 return; | |
9 testRunner.waitUntilDone(); | |
Inactive
2014/08/06 21:40:43
window.jsTestIsAsync = true;
| |
10 eventSender.mouseMoveTo(75, 75); | |
Inactive
2014/08/06 21:40:43
You probably need to check if eventSender exists.
Inactive
2014/08/06 21:50:53
This looks unsafe, you would probably get the coor
| |
11 } | |
12 function hoverFunc(){ | |
Inactive
2014/08/06 21:40:44
Missing space before {
| |
13 var area = document.getElementById('areaTest'); | |
14 var s = window.getComputedStyle(area,null); | |
Inactive
2014/08/06 21:40:43
missing space after comma
Inactive
2014/08/06 21:47:02
What is this variable used for?
| |
15 var expectedColor = "rgb(0, 0, 255)"; | |
Inactive
2014/08/06 21:44:38
Just inline this in the shouldBeEqualToString() ch
| |
16 shouldBeEqualToString("window.getComputedStyle(document.getElementById('areaTes t'), null).color", expectedColor); | |
Inactive
2014/08/06 21:40:43
Can you just use "area" ? (Just define area variab
| |
17 if (window.testRunner) | |
Inactive
2014/08/06 21:40:44
finishJSTest();
| |
18 testRunner.notifyDone(); | |
19 } | |
20 </script> | |
21 <style type="text/css"> | |
Inactive
2014/08/06 21:44:37
I don't think you need the type parameter here.
| |
22 area:hover{ | |
Inactive
2014/08/06 21:44:37
missing space before {
| |
23 color:blue; | |
Inactive
2014/08/06 21:44:37
Missing space after ':'
| |
24 } | |
25 </style> | |
26 <body id="body" onload="runtest()"> | |
Inactive
2014/08/06 21:44:37
Doesn't look like this id is needed.
| |
27 <map id="samsung" name="imagemap1"> | |
Inactive
2014/08/06 21:44:37
Doesn't look like this id is needed. In any case n
| |
28 <area id="areaTest", onmouseover="hoverFunc()" shape="rect" coords="0, 0, 100, 100" href="http://www.samsung.com" title="Link1" /> | |
Inactive
2014/08/06 21:40:43
what is this comma after the id?
| |
29 </map> | |
30 <img id="img1" src="../../accessibility/resources/cake.png" border="0" align= "left" usemap="#imagemap1" /> | |
Inactive
2014/08/06 21:44:37
Doesn't look like this id is needed.
Inactive
2014/08/06 21:50:53
Any image you could use from the fast/css/resource
| |
31 </body> | |
32 </html> | |
OLD | NEW |