::first-line selector with bidi content

In each box, the first-line text should be green on pink and should never project outside the box:

`text-align:left` | `text-align:center` | `text-align:right`
--- | --- | ---
الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four
الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four
الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four
الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four | الخت العربي one ايك two دو three تين four
A الخت العربي one ايك two دو three تين four | A الخت العربي one ايك two دو three تين four | A الخت العربي one ايك two دو three تين four
Z الخت العربي one ايك two دو three تين four | Z الخت العربي one ايك two دو three تين four | Z الخت العربي one ايك two دو three تين four