Re: [i18n-drafts] [tests/repo/results/css-ruby] Is the-dir-attribute-069.html correct? (#235)

I'm inclined to agree with @tphamg that this test is at odds with the spec text, and i suspect that the behaviour expected by the test may be incorrect (even though it seems to be supported by 3 major browsers).

The relevant test code is this:

```
<div dir="rtl">
<p dir="auto">@123!</p>
</div>

```
Apart from the ordering of characters on the line, the test expects the sequence @123! to appear to the left of the line (since dir=ltr), whereas the spec expects it to appear to the right (since the context is rtl).

The ramifications of this can be seen in a set of paras in a RTL context, where one para has no strong directional character.  Should the list look like this (per test):

![Screenshot 2020-01-07 at 14 03 26](https://user-images.githubusercontent.com/4839211/71900846-8960ea80-3156-11ea-8163-3523d8fb97dd.png)


Or like this (per spec):

![Screenshot 2020-01-07 at 14 03 41](https://user-images.githubusercontent.com/4839211/71900920-b1e8e480-3156-11ea-8bcc-466838c2e2e7.png)


This is one of the tests created by Aharon and @matial. Mati, any thoughts?


-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/235#issuecomment-571648611 using your GitHub account

Received on Tuesday, 7 January 2020 15:58:11 UTC