Still need to implement the style invalidation.

Part of #9395