This is how OpenRailwayMap looks with the original rendering code:  This is how it looks now:  The casing is now either always on or always off as it looks to me. The change is the new dashing code from @braandl.