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

Unified Diff: LayoutTests/fast/css/invalid-cursor-property-crash.html

Issue 23816008: Drop CSS cursor quirk for missing fallback cursor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added default pointer fallback to cursor rule in http test Created 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/invalid-cursor-property-crash.html
diff --git a/LayoutTests/fast/css/invalid-cursor-property-crash.html b/LayoutTests/fast/css/invalid-cursor-property-crash.html
index 3cd0d4b263165ce420abe769d83914ca7d7994c6..0138ef99f50b30e1c7e6dc738024e92aba2f95d0 100644
--- a/LayoutTests/fast/css/invalid-cursor-property-crash.html
+++ b/LayoutTests/fast/css/invalid-cursor-property-crash.html
@@ -4,12 +4,12 @@
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
-
+
var d = document.getElementById('theDiv');
var style = document.defaultView.getComputedStyle(d, '');
-
- if (style && style.cursor == 'url(' + document.location + '), auto')
- document.getElementById('result').innerHTML = 'SUCCESS';
+
+ if (style && style.cursor == 'auto')
+ document.getElementById('result').innerHTML = 'SUCCESS';
}
</script>
</head>
« no previous file with comments | « LayoutTests/fast/css/cursor-parsing-quirks-expected.txt ('k') | LayoutTests/fast/css/uri-token-parsing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698