| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <div id="element"></div> | 2 <div id="element"></div> |
| 3 | 3 |
| 4 <script src="../../resources/testharness.js"></script> | 4 <script src="../../resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> | 5 <script src="../../resources/testharnessreport.js"></script> |
| 6 <script> | 6 <script> |
| 7 var verticalCursor = "url(file:///a) 11 11, default"; | 7 var verticalCursor = "url(\"file:///a\") 11 11, default"; |
| 8 var horizontalCursor = "url(file:///b) 11 11, default"; | 8 var horizontalCursor = "url(\"file:///b\") 11 11, default"; |
| 9 | 9 |
| 10 test(function () { | 10 test(function () { |
| 11 element.style.cursor = verticalCursor; | 11 element.style.cursor = verticalCursor; |
| 12 assert_equals(element.style.cursor, verticalCursor); | 12 assert_equals(element.style.cursor, verticalCursor); |
| 13 | 13 |
| 14 element.style.cursor = horizontalCursor; | 14 element.style.cursor = horizontalCursor; |
| 15 assert_equals(element.style.cursor, horizontalCursor); | 15 assert_equals(element.style.cursor, horizontalCursor); |
| 16 }, "Check that the cursor updates even when the hotspot is the same"); | 16 }, "Check that the cursor updates even when the hotspot is the same"); |
| 17 | 17 |
| 18 </script> | 18 </script> |
| OLD | NEW |