In all actions hereafter brought for personal injuries, or where such injuries have resulted in death, or for injury to property, the fact that the person injured, or the owner of the property, or person having control over the property may have been guilty of contributory negligence shall not bar a recovery, but damages shall be diminished by the jury in proportion to the amount of negligence attributable to the person injured, or the owner of the property, or the person having control over the property.