openlayers/openlayers — pull request #1353 by flansch (2014-07-07 12:54:18+00:00)
Title: Convert CSSParameter values to float if numeric

Increasing the line width lead to undesired results inside OpenLayers.Renderer.Canvas.setHitContextStyle when the line size was originally parsed from an SLD document, because the parsed values haven't been converted from Strings to Numbers.

Example:

symbolizer.strokeWidth + 2 // "5" + 2 = "52"