Always compute style for content-visibility: auto subtrees when a11y is on.

The a11y post-lifecycle phase depends on it anyway, so delaying this work until the a11y post-lifecycle phase will be slower and cause
more complication & bugs than just doing it for every lifecycle update.

Bug: 1478422

Change-Id: I020a0a29ff33600c18e56bf4d529f31e1f88864e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4863049
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1196873}
diff --git a/accessibility/crashtests/content-visibility-focusable-scroller-descendant.html b/accessibility/crashtests/content-visibility-focusable-scroller-descendant.html
new file mode 100644
index 0000000..e9b027b
--- /dev/null
+++ b/accessibility/crashtests/content-visibility-focusable-scroller-descendant.html
@@ -0,0 +1,11 @@
+<!doctype HTML>
+<style>
+html,body {
+     content-visibility: auto;
+}
+</style>
+<div id=target style="height: 1000px; width: 100px; overflow: scroll">
+     <marquee></marquee>
+     <div style="width: 50px; height: 2000px"></div>
+</div>
+