Allow a 'normal' value on font metrics override descriptors to do nothing
Previous implementation only parsed percentage values for these descriptors, and treated 'normal' as a parse error. This patch allows descriptors ascent-override, descent-override and line-gap-override to parse their initial value 'normal' without triggering a parse error. Bug: 1098355 Change-Id: I5fc8ddaa0574becf6f8aa21e7c4df6b299f35533 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2415226 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#808537}
Showing
Please register or sign in to comment