Use new skia drawDRRect API for roundrect borders

Although the DRRect API isn't yet fully optimized, this should be no slower
than before, and providing skia with the higher level information that the
path is a roundrect (as opposed to a generic spline) should give skia a much
better chance to optimize common cases such as a one-pixel wide border.

Brian assures me that on the GPU this will be much faster, on the CPU
it should currently remain the same. I haven't run a full performance
study yet.

Patch by Greg Humphreys ("I" in the comments above).

BUG=343347
R=esprehn@chromium.org, reed@google.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168050 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a common autosizing test helper script

All autosizer tests have a common setup routine involving enabling
autosizing and printing a special message about how to run the tests
manually. This patch introduces a common script (autosizingTest.js) for
this functionality. In addition to cleaning up copy pasta code, this
will let us change the setup/error message easily in the future.

virtual/fasttextautosizing tests will be updated in a followup.

resources/autosizingTest.js (hidden in the middle of the files) is the
primary change in this patch.

This patch was mostly autogenerated with:
find . -type f -print0 | xargs -0 perl -0777 -i -pe 'BEGIN{undef $/;} s/<script.*\/script>/<script src="resources\/autosizingTest.js"><\/script>/smg'

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168051 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not group Canvas profiles

Show each Canvas profile as a separate entry with unique title instead of grouping them under "Trace Log 0" with titles "Run X".

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168052 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a crash when spell checker is triggered for an editable element which is in an author ShadowRoot of an INPUT element.

enclosingTextFormControl() should handle only elements in UA ShadowRoot.

BUG=343040
TEST=automated

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168053 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unprefix WebAudio AudioContext and OfflineAudioContext.

Legacy methods and attributes remain but are deprecated. Legacy behavior of these methods is not supported. Corrections to the spec may cause these methods to get updated accordingly, breaking legacy behavior.

A couple of layout tests are updated to use AudioContext and
OfflineAudioContext to verify they work. The remaining layout tests will be updated later in a separate CL.


BUG=302751

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168055 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-enable test: fixed-position-composited-page-scale.html

A fix for this has been landed as
https://src.chromium.org/viewvc/chrome/?revision=253909,
re-enabling the affected tests.

TBR=alph@chromium.org
NOTRY=true

BUG=347491

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168056 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-generate directory indexes for run-blink-httpd.

Also, automatically create the output directory if it doesn't exist.
Both of these changes are regressions caused by the switch from
lighttpd to apache (and other cleanups).

R=morrita@chromium.org
BUG=347341

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168057 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[FastTextAutosizer] Fix crash on empty tables

Empty tables would assert because they do not create clusters but we
(correctly) assert in inflateTable() that the current cluster is a
table. This patch only calls inflateTable() if a cluster was created.

BUG=347395
NOTRY=true

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

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