[alreq] Firefox handles (Bidi) closing matching parenthesis the right way

ntounsi has just created a new issue for https://github.com/w3c/alreq:

== Firefox handles (Bidi) closing matching parenthesis the right way ==
May be it is already mentioned elsewhere, but Firefox handles a closing matching parenthesis in a Bidi ambiguous situation as it should be, i.e. as a **closing** parenthesis, and not as in UBA (mirrored and misplaced parenthesis). 

Example : the source is "ARABIC ARABIC Internationalisation (I18N) ARABIC ARABIC ..." in RTL base direction

FireFox : 
![ff1](https://cloud.githubusercontent.com/assets/15004708/26735772/db9dde4c-47b2-11e7-957e-002098cb11be.png)

Other browsers (UBA) :
![ff2](https://cloud.githubusercontent.com/assets/15004708/26735807/fa22bee6-47b2-11e7-8a3b-3e81f253a638.png)

It seem as if FF "is aware" that a closing parenthesis has an open parenthesis to match, and it does so. Indeed, when you replace the closing `)` by another unmatched closing sign, say `]`, FF renders the text as UBA.
![ff3](https://cloud.githubusercontent.com/assets/15004708/26735870/3241b87c-47b3-11e7-9585-79a3495e0f7d.png)

I think it is an interesting initiative.
Thoughts?

Shame on other browsers? :-)

Please view or discuss this issue at https://github.com/w3c/alreq/issues/121 using your GitHub account

Received on Friday, 2 June 2017 17:08:24 UTC