Skip to content

Commit a4934f7

Browse files
aleventhalchromium-wpt-export-bot
authored andcommitted
[A11y] Address possibility of nodeless object with content-visibility rule
Note that the new test does not exercise all of the added code, because an AXObject never existed for the nodeless layout object in the scrollbar. However, rather than hitting a CHECK(), the code will now continue and ensure that if there is a subtree of AXObjects based only on layout objects, that they are removed in this case. Fixed: 1481892 Change-Id: Iebacc810852c0a34e6f743a821957360bcfd69d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4860045 Reviewed-by: Chris Harrelson <[email protected]> Commit-Queue: Aaron Leventhal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1196125}
1 parent 62a24b0 commit a4934f7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<style>
3+
::-webkit-scrollbar-track, ::-webkit-scrollbar {
4+
color: red;
5+
}
6+
::-webkit-scrollbar-track:horizontal:disabled {
7+
content-visibility: hidden;
8+
}
9+
</style>
10+
<main style="height: 100px; width: 100px; overflow: scroll;"></main>

0 commit comments

Comments
 (0)