box-properties-2.html (843B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Bug 1055667 - Box properties on ruby boxes</title> 6 <link rel="stylesheet" href="common.css"> 7 <script type="text/javascript" src="utils.js"></script> 8 </head> 9 <body style="line-height: 10"> 10 <ruby> 11 <rb>base1</rb> 12 <rb><div style="width: 300px;"></div></rb> 13 <rb>base3</rb> 14 <rtc> 15 <rt></rt> 16 <rt style="background: silver; padding: 2px; border: 4px solid gray; outline: 8px solid black; margin: 16px;"><div id="rtblock"><span id="inline">text1</span></div></rt> 17 </rtc> 18 </ruby> 19 <script type="text/javascript"> 20 // alter the height to make it easier to match the reference page 21 makeBSizeMatchInlineBox(document.getElementById('rtblock'), 22 document.getElementById('inline')); 23 </script> 24 </body> 25 </html>