Make text-based-repaint actually paint too

This should be the last of svg and text-based-repaint changes for force
compositing mode, and it hilariously comes full circle to make
"text"-based-repaint now actually do a full paint and composite
operation prior to tickling some property and testing what happens.
This should make pixel output for repaint tests actually useful.  (So
useful that it exposes four svg tests that are failing pixel repaint.)

Testing actual pixel-based repaint in the output means that js-test svg
tests can go back to outputting js-test output in their text output
rather than being clobbered (oops) by the graphics layer tree with
repaints.  For simplicity (rather than trying to combine js-test and
text-after-repaint output), every combined js-test/text-based-repaint
test doesn't print the layer tree and is only a pixel-based repaint
test with js-test text output.  Any text-based-repaint test on its own
will print out the layer tree with repaints by default.

This makes all text-based-repaint.js tests asynchronous internally,
which causes some conflict with any test that wants to control when the
test ends (either manually or via js-test).  These tests are converted
to either not call waitUntilDone/runAfterDisplay (letting
text-based-repaint do it) or to coordinate with text-based-repaint (via
window.afterTest).

BUG=369609

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

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