W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: [SVGMobile12] Lack of BIDI 'direction' (ISSUE-2058)

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 29 Oct 2008 09:48:24 -0700
Message-ID: <490893D8.3060606@inkedblade.net>
To: Erik Dahlström <ed@opera.com>
CC: Doug Schepers <schepers@w3.org>, www-style@w3.org, public-i18n-core@w3.org, www-svg <www-svg@w3.org>

Erik Dahlström wrote:
> On Wed, 29 Oct 2008 00:21:35 +0100, fantasai <fantasai.lists@inkedblade.net> wrote:
>> Doug Schepers wrote:
>>> fantasai wrote (on 10/28/08 7:10 PM):
>>>> Doug Schepers wrote:
>>>>> http://dev.w3.org/SVG/profiles/1.2T/publish/text.html#DirectionProperty
>>>>   # For the 'direction' property to have any effect, the 'unicode-bidi'
>>>>   # property's value must be embed or bidi-override.
>>>> This is false. As I explained before, the 'direction' property alone has an
>>>> effect when set at the paragraph level ("paragraph" being the unit of text
>>>> the bidi algorithm operates on).
> I'm guessing this wording was the SVG translation of the following sentence in CSS:
> "For the 'direction' property to have any effect on inline-level elements, the
> 'unicode-bidi' property's value must be 'embed' or 'override'."
> So the question then becomes: what is an "inline-level element" in terms of svg?
> I'm thinking that this might be the 'tspan' element, since that cannot start a
> text content block by itself. The 'tspan' element always needs to be enclosed
> in a 'text content block element'. 
>> I suggest removing the text. The first quoted sentence is very clearly wrong.
> Is the corresponding sentence in CSS also wrong?

The corresponding sentence in CSS is qualified as describing only
inline elements, which are effectively invisible to the bidi
algorithm unless 'unicode-bidi' is set.

The same might be true of tspan elements *if* they are *never*
responsible for bounding the bidi algorithm's paragraph (i.e. never
form a "text chunk" in SVG terms). I don't know enough about SVG's
text model to say if that is true. But 'direction' also applies to
<text> elements (or should) so even if tspan elements are the
equivalent of CSS's inline elements, then you'd need to qualify the
statement to describe only them.

Received on Wednesday, 29 October 2008 16:49:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT