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

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

Issue 1311783009: Fix bug in CSSCursorImageValue::equals() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Localized cursor URL to fix httpd errors Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/core/css/CSSCursorImageValue.cpp » ('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 <!DOCTYPE html>
2 <div id="element"></div>
3
4 <script src="../../resources/testharness.js"></script>
5 <script src="../../resources/testharnessreport.js"></script>
6 <script>
7 var verticalCursor = "url(file:///a) 11 11, default";
8 var horizontalCursor = "url(file:///b) 11 11, default";
9
10 test(function () {
11 element.style.cursor = verticalCursor;
12 assert_equals(element.style.cursor, verticalCursor);
13
14 element.style.cursor = horizontalCursor;
15 assert_equals(element.style.cursor, horizontalCursor);
16 }, "Check that the cursor updates even when the hotspot is the same");
17
18 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSCursorImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698