- From: Asmus Freytag <asmusf@ix.netcom.com>
- Date: Fri, 30 Mar 2012 12:54:41 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- CC: public-i18n-bidi@w3.org
- Message-ID: <4F760F81.4010706@ix.netcom.com>
On 3/30/2012 12:13 PM, fantasai wrote: > On 03/30/2012 11:54 AM, Eric Muller wrote: >> On 3/30/2012 11:15 AM, fantasai wrote: >>> On 03/29/2012 04:33 PM, Eric Muller wrote: >>>> Consider just the first case: >>>> >>>> <div dir="ltr">א><bdi><br/></bdi> >ב...</div> >>>> >>>> The expected output is described as: >>>> >>>> < א >>>> ב<... >>>> >>>> Where did the spaces around the<bdi> element go? where they >>>> collapsed because they are next to the<br/>? That's the only >>>> explaination I see for the one after, since it would otherwise be >>>> between the< and the ..., i.e. not at the beginning or end >>>> of a line. >>> Collapsible spaces are removed at the beginning and ends of lines. >>> See http://www.w3.org/TR/css3-text/#white-space-rules >>> >> >> As I noted, that's not the answer for the one after the <bdi>. >> It's not at the beginning or end of a line. > > Ah, yes. The rule you're looking for is the one about removing > white space surrounding a line break. (This happens before the > actual line breaking and before reordering, so is not affected > by bidi.) > Is it this rule: "As each line is laid out, 1. A sequence of collapsible spaces at the beginning of a line is removed. " > Consider just the first case: > > <div dir="ltr">א><bdi><br/></bdi> >ב...</div> I see only a space after the </bdi> which would be the first space on the rendered line. I don't see a space before the <bdi> - did it get lost? A./
Received on Friday, 30 March 2012 19:55:13 UTC