content-visibility-on-ruby.html (607B)
1 <!DOCTYPE html> 2 <html> 3 <link rel="match" href="content-visibility-on-ruby-ref.html"> 4 <link rel="help" href="https://drafts.csswg.org/css-contain-2/#content-visibility"> 5 <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"> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style> 8 ruby { 9 font: 25px/1 Ahem; 10 } 11 </style> 12 <body> 13 <p>Test passes if both base and annotation are visible</p> 14 <ruby style="content-visibility: hidden;">base<rt>annotation</rt></ruby> 15 </body> 16 </html>