- From: Uri Bernstein <urib@google.com>
- Date: Thu, 12 May 2011 10:53:37 +0300
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: "www-style@w3.org" <www-style@w3.org>, "public-i18n-bidi@w3.org" <public-i18n-bidi@w3.org>
- Message-ID: <BANLkTik7envDB+7e-asgGa=v-wsebV_AJQ@mail.gmail.com>
What bothers me is that: <p dir="ltr">foo <b><i dir="rtl" style="margin-left:10px">FOO<br>BAR</i></b>bar<p> will render differently than: <p dir="ltr">foo <b dir="rtl"><i style="margin-left:10px">FOO<br>BAR</i></b>bar<p> Currently these are identical, and I'm concerned that making them different would be unintuitive and perhaps confusing. On the other hand, I do see your point. --Uri. On Wed, May 11, 2011 at 20:51, fantasai <fantasai.lists@inkedblade.net>wrote: > On 05/11/2011 05:18 AM, Uri Bernstein wrote: > >> This seems reasonable to me. >> One question - do you literally mean "the element's parent's direction", >> or do you actually mean "the element's containing block's direction"? >> I think the latter makes more sense. >> > > I do actually mean the element's parent's direction. If you consider the > spacing example again, using another level of nesting, you'll see that > using the containing block's direction would result in the same problem > again when you get to the second level of nesting: > > |Here is some text AND HERE IS MY [ ๐๐ข๐๐ก๐ ๐กโ๐๐ก| > |๐๐๐๐ก๐๐๐ข๐๐ ] ON THE LINE and my text | > |continues. | > > Using containing block: > > |Here is some text ๐๐ข๐๐ก๐ ๐กโ๐๐ก YM SI EREH DNA| > |ENIL EHT NO ๐๐๐๐ก๐๐๐ข๐๐ and my text | > |continues. | > > Using parent element: > > |Here is some text ๐๐ข๐๐ก๐ ๐กโ๐๐ก YM SI EREH DNA| > |ENIL EHT NO ๐๐๐๐ก๐๐๐ข๐๐ and my text | > |continues. | > > ~fantasai > > >
Received on Thursday, 12 May 2011 07:54:31 UTC