Skip to content

Commit ad48ce3

Browse files
Aaron Leventhalchromium-wpt-export-bot
authored andcommitted
[A11y] (Reland#2) Targeted cached property invalidation
Relands after revert in CL:4615927. The reason is described there. Relands the following CLs: * Enhance performance by targeting value updates to specific nodes, commit 704633e6846e44b20c488a3eb98fa43c2c8e4591. * Don't queue anything for irrelevant attribute changes, commit 2c66a62ed62e601b7a81271e4be4f9e173ce9afc. * Add comment explaining call to UpdateStyleAndLayoutTreeForNode(), commit 73b9eed3b48bc8ce70de657672755f44a89e7358. * Ensure cached values not invalidated during the computation of them, commit 4d167a62cd13d5209ecefb664e3690ac955bc559. * Run a test with --force-renderer-accessibility that used to fail, commit cab7ecd829b24acf677e02f8f118085eaad7f799. * Simplify code to update cached focusable state, commit 79cb184e5dab5f6084ec78d485bd9496eaa0aaf8. * Simplify code that invalidates cached values on an AXObject, commit 6df79a50a55fe5cf99d2c50f7308e1236361b771. Fixed: 1446864, 1446550, 1434555, 1362758, 1454393, 1459402, 1454983, 1454910, 1386214, 1441173 Change-Id: I71acbaa62386425928a176aa1b4c3c7adac6a8ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4687538 Reviewed-by: Philip Rogers <[email protected]> Commit-Queue: Aaron Leventhal <[email protected]> Reviewed-by: Chris Harrelson <[email protected]> Cr-Commit-Position: refs/heads/main@{#1171423}
1 parent 8f3e51e commit ad48ce3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html class="test-wait">
3+
<body onload="start()">
4+
<script>
5+
function start() {
6+
requestAnimationFrame(() => {
7+
target2.placeholder = "string";
8+
target1.type = "hidden";
9+
document.documentElement.className = '';
10+
});
11+
}
12+
</script>
13+
14+
<ol id=target1 inert>
15+
<content>
16+
<textarea id=target2></textarea>
17+
<semantics>
18+
<optgroup></optgroup>
19+
</semantics>
20+
</content>
21+
</ol>
22+
</body>
23+
</html>

0 commit comments

Comments
 (0)