Changeset [964f3fe06dddfb68583a31098b76af5d6396b450] by Miles Tinsley
January 6th, 2013 @ 07:20 AM
Improved the reliability of CPBrowserCSSProperty by checking for the browser prefix before hyphenating the camel-cased string.
This has the added benefit of ignoring unknown/unsupported prefixes, providing the property itself is camel-cased.
For example:
"LinearBackground" -> "linear-background" "Linear-Background" -> "linear-background" "linear-background" -> "linear-background" "fooLinearBackground" -> "linear-background"
and
"WebkitLinearBackground" -> "-webkit-linear-background"
"MozLinearBackground" -> "-moz-linear-background" etc..
https://github.com/cappuccino/cappuccino/commit/964f3fe06dddfb68583...
Committed by Miles Tinsley
- M AppKit/CPCompatibility.j
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.