Web Animations: Use EXPECT rather than ASSERT where possible in unit tests

R=mithro

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
text-overflow: ellipsis should support vertical writing mode.

Ellipsis layout logic only considers horizontal writing mode. Therefore,
this patch replaced most layout code with logicalXXX().

EllipsisBox cannot draw/hit-test vertical text. This patch is mostly
copied drawing/hit-testing vertical text logic from InlineTextBox.

Currently -webkit-line-clamp doesn't support vertical writing
mode. Added FIXME to line-clamp logic.

Changed InlineBox::width() and height() to use virtualLogicalHeight().
This allows EllipsisBox use InlineBox's method like
locationIncludingFlipping().

Made rotation() static method of InlineTextBox to use it from EllipsisBox.

Since -webkit-line-clamp will be removed, this didn't implement
-webkit-line-clamp in vertical writing mode.

BUG=318035

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make IMEAPI experimental

As IMM32 functions are implemented, we are ready to
experiment on Windows.


BUG=238585
TEST=none

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

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