Add some tests for style invalidation.
Pull request: https://github.com/WebKit/WebKit/pull/3293
Committed 253456@main (c10d6b1a2919): <https://commits.webkit.org/253456@main> Reviewed commits have been landed. Closing PR #3293 and removing active labels.
<rdar://problem/98705380>