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

The UBA got a major update (Revision 29) for Unicode 6.3.0, including Paired Brackets which enable detecting matching pairs in a text and adjusting bidi levels (and mirroring of these characters) accordingly.

As you have noticed, only exact matches work this way, meaning matching `(` and `)` only together, `[` and `]` only together, etc, and a `(` won't match a `]` character.

The Paired Brackets feature, along other new features in the new UBA Revision are not yet available in most of the implementations, as you have observed.

Chrome and other WebKit/Blink-based engines use `FriBidi`, which has a longstanding git branch open for it, awaiting fixes and merge into the master and a release. (https://github.com/behdad/fribidi/issues/9) (Ping, @behdad)

Firefox has its own implementation, which I'm not sure about the levels of support for UBA 29, but looks like Paired Brackets is implemented already.

I suppose MS Edge would have the new features as well, but I can't try it out myself. (Please let us know if you find anything about that.)

-- 
GitHub Notification of comment by behnam
Please view or discuss this issue at https://github.com/w3c/alreq/issues/121#issuecomment-305866925 using your GitHub account

Received on Friday, 2 June 2017 18:00:48 UTC