Cursor to be centrally aligned instead of top aligned
Previous code in r178276, only accounted for font height but padding,
border and box height should be also taken into account.
BUG=
400522
R=leviw, esprehn
TEST=Various tests that need rebaseline due to code change.
Committed:
https://src.chromium.org/viewvc/blink?view=rev&revision=181000