@@ -727,29 +727,41 @@ <h3 id=autohide><span class=secno>2.4. </span> Autohiding Annotations</h3>
727727
728728 < h3 id =white-space > < span class =secno > 2.5. </ span > White Space</ h3 >
729729
730- < p class =issue > I'm unsure exactly where space should be trimmed. :/ But
731- pretty sure we need to keep spaces between things, otherwise ruby only
732- works for CJK.
733-
734- < p > < i > Collapsible</ i > white space within a ruby structure is discarded at
735- the beginning and end of a < a href ="#ruby-container-box "> < i > ruby
736- container</ i > </ a > , < a href ="#ruby-annotation-container-box "> < i > ruby
737- annotation container</ i > </ a > , or < a
738- href ="#ruby-base-container-box "> < i > ruby base container</ i > </ a > , and at the
739- beginning/end of a < a href ="#ruby-annotation-box "> < i > ruby annotation
740- box</ i > </ a > or < a href ="#ruby-base-box "> < i > ruby base box</ i > </ a > if white
741- space is not its only contents. Between < a href ="#ruby-segments "> < i > ruby
742- segments</ i > </ a > , between < a href ="#ruby-base-box "> < i > ruby bases</ i > </ a > ,
743- and between < a href ="#ruby-annotation-box "> < i > ruby annotations</ i > </ a > ,
744- however, white space is not discarded. If such white space is
745- < i > collapsible</ i > , it will collapse following the standard < a
730+ < p > < i > Collapsible</ i > white space within a ruby structure is discarded
731+
732+ < ul >
733+ < li > at the beginning and end of a < a href ="#ruby-container-box "> < i > ruby
734+ container</ i > </ a > , < a href ="#ruby-annotation-container-box "> < i > ruby
735+ annotation container</ i > </ a > , or < a
736+ href ="#ruby-base-container-box "> < i > ruby base container</ i > </ a > ,
737+
738+ < li > at the beginning/end of a < a href ="#ruby-annotation-box "> < i > ruby
739+ annotation box</ i > </ a > or < a href ="#ruby-base-box "> < i > ruby base
740+ box</ i > </ a > if white space is not its only contents,
741+
742+ < li > between a < a href ="#ruby-base-container-box "> < i > ruby base
743+ container</ i > </ a > and its following < a
744+ href ="#ruby-annotation-container-box "> < i > ruby annotation
745+ container</ i > </ a > ,
746+
747+ < li > between < a href ="#ruby-annotation-container-box "> < i > ruby annotation
748+ containers</ i > </ a > .
749+ </ ul >
750+
751+ < p > Between < a href ="#ruby-segments "> < i > ruby segments</ i > </ a > , between < a
752+ href ="#ruby-base-box "> < i > ruby bases</ i > </ a > , and between < a
753+ href ="#ruby-annotation-box "> < i > ruby annotations</ i > </ a > , however, white
754+ space is not discarded.
755+
756+ < p > Where undiscarded white space is < i > collapsible</ i > , it will collapse
757+ following the standard < a
746758 href ="http://www.w3.org/TR/css3-text/#white-space-rules "> white space
747759 processing rules</ a > . < a href ="#CSS3TEXT "
748- rel =biblioentry > [CSS3TEXT]<!--{{!CSS3TEXT}}--> </ a > Between < a
749- href ="#ruby-segments "> < i > ruby segments</ i > </ a > , however, the contextual
750- text for determining collapsing behavior is given by the < a
751- href ="#ruby-base-box "> < i > ruby bases</ i > </ a > on either side, not the text
752- on either side of the white space in the source document.
760+ rel =biblioentry > [CSS3TEXT]<!--{{!CSS3TEXT}}--> </ a > For < i > collapsible </ i >
761+ white space between < a href ="#ruby-segments "> < i > ruby segments</ i > </ a > ,
762+ however, the contextual text for determining collapsing behavior is given
763+ by the < a href ="#ruby-base-box "> < i > ruby bases</ i > </ a > on either side, not
764+ the text on either side of the white space in the source document.
753765
754766 < div class =note >
755767 < p > Note that the white space processing rules cause a white space sequence
@@ -765,12 +777,14 @@ <h3 id=white-space><span class=secno>2.5. </span> White Space</h3>
765777<!-- --> <rt> とう</rt> <rt> きょう</rt>
766778<!-- --> </ruby> </ pre >
767779
768- < p > However, this markup will:
780+ < p > However, white space that does not contain a < i > segment break</ i > does
781+ not collapse completely away, so this markup will display with a space
782+ between the first and second ruby pairs:
769783
770784 < pre >
771785<!-- --> <ruby>
772786<!-- --> <rb> 東</rb> <rb> 京</rb>
773- <!-- --> <rt> とう</rt> <rt> きょう</rt>
787+ <!-- --> <rt> とう</rt> <rt> きょう</rt>
774788<!-- --> </ruby> </ pre >
775789 </ div >
776790
@@ -781,10 +795,12 @@ <h3 id=white-space><span class=secno>2.5. </span> White Space</h3>
781795 (if between < a href ="#ruby-annotation-box "> < i > ruby annotations</ i > </ a > ),
782796 or < a href ="#ruby-container-box "> < i > ruby container</ i > </ a > (if between < a
783797 href ="#ruby-segments "> < i > ruby segments</ i > </ a > ). In the latter case, the
784- text is considered part of the < i > base level</ i > . This box does not take
785- part in pairing. It merely ensures separation between adjacent
798+ text is considered part of the < i > base level</ i > . Such anonynmous boxes do
799+ not take part in pairing. They merely ensure separation between adjacent
786800 bases/annotations.
787801
802+ < p class =issue > Specify how these anonymous white space boxes impact layout.
803+
788804 < div class =example >
789805 < p > These rules allow ruby to be used with space-separated scripts such as
790806 Latin. For example,
@@ -804,8 +820,6 @@ <h3 id=white-space><span class=secno>2.5. </span> White Space</h3>
804820<!-- --> </ruby> </ pre >
805821 </ div >
806822
807- < p class =issue > Specify how this impacts layout, or not.
808-
809823 < h3 id =ruby-layout > < span class =secno > 2.6. </ span > Ruby layout</ h3 >
810824
811825 < p > When a ruby structure is laid out, its base level is laid out on the
0 commit comments