Fix wrong width of Range in vertical text

When the original code adjusts the width of the quad of a seleciton box
containing one or several characters in vertical text,
box->logicalWidth() (which is actually the height of the box) is used.
Should use box->width() instead.

The original fast/dom/Range/getClientRects.html tests only the whole
block selection case, not covering bug 297808.

BUG=297808
TEST=fast/dom/Range/getClientRects-character.html

Review URL: https://chromiumcodereview.appspot.com/24023007

git-svn-id: svn://svn.chromium.org/blink/trunk@158301 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed