Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-ruby/ruby-text-dynamic-style.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="reference/ruby-text-dynamic-style-ref.html">
<style>
.reftest-wait rt {
background-color: red;
}
ruby {
position: relative;
}
p {
position: relative;
}
</style>
<p><ruby>base<rt>annotation</ruby></p>
<script>
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.documentElement.classList.remove('reftest-wait');
});
});
</script>
</html>