ruby-whitespace-001-ref.html (1277B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <title>Ruby whitespace handling</title> 4 <link rel="author" title="Sam Bowen" href="mailto:sgbowen8@gmail.com"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 6 <link rel="stylesheet" href="support/ruby-common.css"> 7 <style> 8 body { line-height: 5em; } 9 </style> 10 11 <p> 12 <ruby><rbc><rb><span> </span></rb><rb><span> </span></rb><rb>Base three</rb></rbc 13 ><rtc><rt><span> </span></rt><rt><span> </span></rt><rt>Text three</rt></rtc 14 ><rtc><rt></rt></rtc 15 ><rbc><rb><span> </span></rb></rbc 16 ><rbc><rb>Segment two</rb></rbc 17 ><rtc><rt></rt></rtc></ruby> 18 </p> 19 20 <p> 21 <ruby><rbc><rb>Base one</rb><rb><span> </span></rb><rb>Base three</rb></rbc 22 ><rtc pseudo><rt>Text one</rt><rt pseudo><span> </span></rt><rt>Text three</rt></rtc></ruby> 23 </p> 24 25 <p> 26 <ruby><rbc><rb>Segment one</rb></rbc 27 ><rbc><rb><span> </span></rb></rbc 28 ><rbc><rb><span> </span></rb><rb><span> </span></rb><rb>Base three</rb></rbc 29 ><rtc><rt><span> </span></rt><rt><span> </span></rt><rt>Text three</rt></rtc 30 ><rbc><rb><span> </span></rb></rbc 31 ><rbc><rb>Base one</rb><rb><span> </span></rb><rb>Base three</rb></rbc 32 ><rtc><rt>Text one</rt><rt></rt><rt>Text two/three</rt></rtc></ruby> 33 </p>