WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
16797
CSS3: cursor: default not supported (Acid3 bug)
https://bugs.webkit.org/show_bug.cgi?id=16797
Summary
CSS3: cursor: default not supported (Acid3 bug)
Eric Seidel (no email)
Reported
2008-01-09 00:17:38 PST
Test 47: FAIL (expected default, got: auto - cursor default not supported) function () { // test 47: 'cursor' and CSS3 values var doc = getTestDocument(); var style = doc.createElement('style'); style.setAttribute('type', 'text/css'); var cursors = ['auto', 'default', 'none', 'context-menu', 'help', 'pointer', 'progress', 'wait', 'cell', 'crosshair', 'text', 'vertical-text', 'alias', 'copy', 'move', 'no-drop', 'not-allowed', 'e-resize', 'n-resize', 'ne-resize', 'nw-resize', 's-resize', 'se-resize', 'sw-resize', 'w-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'col-resize', 'row-resize', 'all-scroll']; for (var i in cursors) { var c = cursors[i]; style.appendChild(doc.createTextNode('#' + c + ' { cursor: ' + c + '; }')); } style.appendChild(doc.createTextNode('#bogus { cursor: bogus; }')); doc.body.appendChild(style); doc.body.id = "bogus"; assertEquals(doc.defaultView.getComputedStyle(doc.body, '').cursor, "auto", "control failed"); for (var i in cursors) { var c = cursors[i]; doc.body.id = c; assertEquals(doc.defaultView.getComputedStyle(doc.body, '').cursor, c, "cursor " + c + " not supported"); } return 3; },
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2008-01-09 00:39:30 PST
Should be simple. This should just map to "pointer" for us.
Eric Seidel (no email)
Comment 2
2008-01-10 20:19:42 PST
Actually this seems to have nothing to do with cursor: default support. Investigating.
Eric Seidel (no email)
Comment 3
2008-01-14 13:23:42 PST
So the major issue here is that Hixie is adding the <style> tag to the body: doc.body.appendChild(style); instead of to the head (like he does for every other test). We don't support that for some reason. We also seem to incorrectly map none -> crosshair and copy -> auto. I'll fix those in a forthcoming patch.
Eric Seidel (no email)
Comment 4
2008-01-14 20:37:10 PST
None of these fail in the latest Acid3. My diagnosis was incorrect.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug