(bug 51813) apply length constraints to properties too

Change-Id: If6a05e69e99aa4df5bd625d9534514eea662aec4
Merge "(bug 51813) apply length constraints to properties too"