Re: [w3c/manifest] Editorial: clarify when/how 'auto' is applied (#926)

@marcoscaceres if you want to specify to the level of detail above what the steps are, you may be better off using the text below, which corrects and changes a few things.

`<li>If metadata is available that indicates a <a>base direction</a> of <a>ltr</a> or <a>rtl</a>, the user agent MUST override the bidi algorithm per <a data-cite="bidi#Higher-Level_Protocols">the higher-level protocols</a> defined in [[BIDI]], setting the paragraph embedding level to 0 if the <a>base direction</a> is <a>ltr</a>, or 1 if the <a>base direction</a> is <a>rtl</a>.</li>`

`<li>Otherwise the <a>base direction</a> is <a>auto</a>, in which case the user agent MUST determine the text's direction by applying the Unicode Bidi Algorithm, beginning with <a data-cite="bidi#P2">Rule P2</a> of [[BIDI]].</li>`

Note that i changed the entry points to the bidi algorithm.  The last rule is P2, because i assume that we're talking about assigning the base direction to a complete string here, rather than that one unit contains multiple paragraphs, and you want to assign the same direction to each. Note also that i changed SHOULD to MUST, because you really do want this to happen – there are no circumstances i can think of where it's not appropriate.

Hope that helps, and sorry it took so long. (Fwiw, we are planning to provide some similar text in our string-meta document, however it probably won't point to P rules or mention directional levels, but rather just say 'use the bidi algorithm'.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/926#issuecomment-686573631

Received on Thursday, 10 September 2020 17:31:44 UTC