We currently only take style changes before the container into account.
Created attachment 460120 [details] Patch
Created attachment 460121 [details] Patch
Created attachment 460122 [details] Patch
Created attachment 460123 [details] Patch
Committed r295418 (251424@main): <https://commits.webkit.org/251424@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 460123 [details].
<rdar://problem/94722411>