Optimize StyleSheetContents::checkLoaded by keeping track of completed
and loading clients.

For the input-wstyle.html benchmark from the bug report this brings
the difference between the x-input and the x-input-style down to
a factor of two and the time scales linearly with the number of
elements added in the benchmark.

x-input: 52.1520ms
x-input-style: 105.3900ms
input: 27.0840ms

R=adamk@chromium.org, esprehn@chromium.org, haraken@chromium.org, tasak@chromium.org
BUG=350785

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] inset corner radii are not flipped for vertical writing modes

When creating an inset shape, convert the radii to logical coordinates as well as the box.

BUG=352785

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

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