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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/bug523527-cursor-doesnt-update-with-same-hotspot.html

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interpolation tests Created 5 years, 2 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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698