Use ICU definition of brackets in itemize text
This CL is replacing the hardcoded list of parens with a call to the ICU API to get the codepoints attributes. Splitting a run on brackets has the side-effect to ensures each bracket (matching bracket) is rendered with the same font. This avoid visual mismatch. The code to split text runs on brackets was introduced to fix this: https://bugs.chromium.org/p/chromium/issues/detail?id=396776 Unittests are added with some codepoints that were not included as brackets and should have been. Bug: 995789 Change-Id: I268cc62604d755d61da2c87dd597aabfc57b7ef6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881723Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#709987}
Showing
Please register or sign in to comment