Ticket #13 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

cldr/utility/bidi.jsp - escape mechanism for the ASCII hack, HTML presentation of results, add RTL+LTR test

Reported by: verdy_p@… Owned by: mark
Component: webutils

Description (last modified by markus) (diff)

was CldrBug:4137

Suggestion for the CLDR online tools.

I saw that a new online tool allows testing the UBA implementation on
http://unicode.org/cldr/utility/bidi.jsp
from the reference links found in this updated PRI.

I note that there's a useful "ASCII hack" option available, but it
would be convenient that this hack supports an escaping character like
"\" to discard the hacked interpretation (notably for punctuations,
like [] <> {} and |)

Also, it would be also convenient to allow testing both the LTR and
RTL contexts (base level 0 or 1) on the same output.
In that case, the two tables of the result, "Source" and "Reordered"
should be probaly indented with a left-margin of about 2em on the
left.

The header titles of these two tables should also avoid using a
vertical separation with the table below it (the blue background would
be contiguous to
the blue background of the row headers below it). In fact they should
proably not be h3 elements but just table captions, because they are
contents related to the existting h3 section (whose heading shows the
paragraph number)

Below the h3 section for the paragraphe number, the small table
showing the initial embedding level would remain unindented, with the
two indented result tables below it.

We could then fit in the same h3 section the second test with the
other direction.

Test combobox on the test form would then include not just "RTL" and
"LTR", but also "Both", to exhibit on the same page the two
reorderings.

Change History

comment:1 Changed 4 years ago by markus

  • Description modified (diff)
  • Reporter changed from markus to verdy_p@…
Note: See TracTickets for help on using tickets.