Bug Tracker

Modify

Ticket #12224 (closed bug: wontfix)

Opened 10 months ago

Last modified 9 months ago

scrollbarDarkShadowColor inappropriately camelCased

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

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

comment:1 Changed 10 months ago by mikesherov

  • Owner set to mikesherov
  • Priority changed from undecided to low
  • Status changed from new to assigned
  • Component changed from unfiled to css
  • Milestone changed from None to 1.next

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 9 months ago by mikesherov

  • Summary changed from Incorrect css method work to scrollbarDarkShadowColor inappropriately camelCased

comment:3 Changed 9 months ago by mikesherov

  • Status changed from assigned to closed
  • Resolution set to wontfix

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 9 months ago by mikesherov (previous) (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.