Changeset [964f3fe06dddfb68583a31098b76af5d6396b450] by Miles Tinsley
Revision 964f3fe06dddfb68583a31098b76af5d6396b450,
committed 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...
1 changed file
-
M
AppKit/CPCompatibility.j