WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
55066
Parsing of the 'cursor' property doesn't follow the CSS 2.1 spec
https://bugs.webkit.org/show_bug.cgi?id=55066
Summary
Parsing of the 'cursor' property doesn't follow the CSS 2.1 spec
Boris Zbarsky
Reported
2011-02-23 11:41:55 PST
See the attached testcase. The property value is invalid (in particular it's missing a fallback cursor name), but webkit accepts it.
Attachments
Testcase
(574 bytes, text/html)
2011-02-23 11:42 PST
,
Boris Zbarsky
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Boris Zbarsky
Comment 1
2011-02-23 11:42:51 PST
Created
attachment 83515
[details]
Testcase
Alexey Proskuryakov
Comment 2
2011-02-23 21:13:06 PST
This works according to the spec in strict mode, but not in quirks. According to
bug 9013
, that was done to match IE. Should we revisit this now?
Tab Atkins
Comment 3
2011-02-24 09:00:24 PST
It appears that IE9 has dropped this particular quirk, so yeah, we should be able to drop it too.
Alexey Proskuryakov
Comment 4
2011-02-24 09:05:31 PST
It seems unlikely that IE has changed the behavior in compatibility mode though.
Tab Atkins
Comment 5
2011-02-24 09:07:37 PST
None of the four modes in a reasonably recent IE9 build (IE7, IE8, IE9, IE9 7 Compat) showed a cursor in Quirks mode.
Alexey Proskuryakov
Comment 6
2011-02-24 09:12:53 PST
This is surprising. My experience with cursors is very dated, but several years ago, a lot of pages used the "quirk" - to the point that we only allowed a single value in cursor list in WebKit at first, and didn't notice any problems with that for a while. Since nearly every page using cursors had separate declarations for Firefox and IE due to different supported formats, it's unclear if Firefox compatibility story would necessarily be relevant for IE or WebKit.
Ahmad Saleem
Comment 7
2022-07-23 10:39:21 PDT
I am unable to reproduce 'red dot' cursor in attached test cases using Safari 15.6 on macOS 12.5 and all other browsers do same and only show 'text selection' cursor. I think it was fixed along the way and this can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
Ryosuke Niwa
Comment 8
2022-07-23 12:43:45 PDT
This appears to be fixed now.
Alexey Proskuryakov
Comment 9
2022-07-23 13:09:07 PDT
I verified that adding a fallback name makes the test work, so this is indeed fixed as intended, not masked by some other bug.
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