Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /accessibility/crashtests/display-table-column.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="test-wait">
<head>
<style>
.foo * {
display: table-column;
}
</style>
<script>
requestAnimationFrame(() => {
requestAnimationFrame(() => {
const link = document.querySelector('link');
// This will queue the creation of an accessibility object for the
// link, because it will now have layout.
document.documentElement.className = 'foo';
// Do something that forces the link's accessibility object to get an
// additional update.
link.ariaChecked = 'true';
requestAnimationFrame(()=> {
requestAnimationFrame(()=> {
document.documentElement.className = '';
});
});
});
});
</script>
</head>
<body>
<link/>
</body>
</html>