Make Chinese linebreaking tests more robust against rounding
These tests were comparing offsetLeft, but there were pixel differences which made some of the tests fails. Using a less than 1 getClientBoundingRect().left difference instead, cleaning up the code and removing expectations file due to these robustly passing now. The pixel differences are not relevant to the intention of the test. Bug: 927287 Change-Id: I74fe8d64edb1a52de4fd0dbb3143843b305f8156 Reviewed-on: https://chromium-review.googlesource.com/c/1448215 Commit-Queue: Dominik Röttsches <drott@chromium.org> Auto-Submit: Dominik Röttsches <drott@chromium.org> Reviewed-by:Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#627968}
Showing
Please register or sign in to comment