Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-contain/content-visibility/content-visibility-on-ruby.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<link rel="match" href="content-visibility-on-ruby-ref.html">
<meta name="assert" content="content-visibility does not apply when the principal box is an internal ruby box since size containment does not apply to it">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
ruby {
font: 25px/1 Ahem;
}
</style>
<body>
<p>Test passes if both base and annotation are visible</p>
<ruby style="content-visibility: hidden;">base<rt>annotation</rt></ruby>
</body>
</html>