Add tab characters support in complex path
This patch adds Tab characters support in complex path.
Tab characters have different advances depends on the tab-size CSS
property and the current position, which is not suitable for Harfbuzz
to handle. This patch lets CachingWordShapeIterator to split tab
characters into separate runs before passing to HarffBuzzShaper.
Two layout tests are copies of existing tests with "text-rendering:
optimizeLegibility" added. These tests can be removed when simple path
is unified with complex path (crbug.com/404597).
BUG=422670
TEST=css3/tab-size-complex-path.html
TEST=fast/css/tab-size-complex-path.html
Review URL: https://codereview.chromium.org/1242213002
git-svn-id: svn://svn.chromium.org/blink/trunk@200331 bbb929c8-8fbe-4397-9dbb-9b2b20218538
8 files changed