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