Convert more tests into text-based-repaint tests

- less code
- to be able to use features of text-based-repaint.js

Review URL: https://codereview.chromium.org/408843004

git-svn-id: svn://svn.chromium.org/blink/trunk@178600 bbb929c8-8fbe-4397-9dbb-9b2b20218538