Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12224 closed bug (wontfix)

scrollbarDarkShadowColor inappropriately camelCased

Reported by: Aleksandr Belevtsov <[email protected]…> Owned by: mikesherov
Priority: low Milestone: 1.next
Component: css Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

Then set 'scrollbar-3dlight-color' and 'scrollbar-darkshadow-color' attributes throw 'css' method it doesn't work. Trouble in this place:

camelCase: function (a) { return a.replace(w, "ms-").replace(v, x) }

Function can't transform these attributes to 'scrollbar3dLightColor' and 'scrollbarDarkShadowColor'.

jsfiddle example link: http://jsfiddle.net/b7zZd/

Change History (3)

comment:1 Changed 10 years ago by mikesherov

Component: unfiledcss
Milestone: None1.next
Owner: set to mikesherov
Priority: undecidedlow
Status: newassigned

It's unfortunate that Microsoft didn't camelCase these property names correctly. Maybe we can fix these the same way we fix cssFloat.

comment:2 Changed 10 years ago by mikesherov

Summary: Incorrect css method workscrollbarDarkShadowColor inappropriately camelCased

comment:3 Changed 10 years ago by mikesherov

Resolution: wontfix
Status: assignedclosed

these are non-standard css attributes, and don't follow normal camelcasing. If you need these values, you can always camelcase them yourself, but we won't be accommodating these in core.

Last edited 10 years ago by mikesherov (previous) (diff)
Note: See TracTickets for help on using tickets.