As Sam Weinig remarked on in bug #121111, comment 6, we should use a better hash function for TextAutoSizingKey. Currently we construct a hash for a TextAutoSizingKey by XORing various style information associated with it.