add experimental support for textLength text attribute