RenderTable should clip rounded rect in the same way as RenderBox does.

RenderBox::paintBoxDecorations renders background and border into a transparency layer and then clip that in one go.
So RenderTable should do the same way for border-radius.

TESTS=fast/table/border-radius-with-image.html
BUG=243774

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move logicalHeightForLine out of LineWidth.h

In revision r157806 (https://src.chromium.org/viewvc/blink?revision=157806&view=revision), I moved
logicalHeightForLine into LineWidth.h as part of LineWidth refactoring. LogicalHeightForLine without
passing the second parameter uses RenderBlock::lineHeight anyway, except it doesn't take -line-box-contain
CSS property into account. For Shapes we don't have implementation for variable-height lines
(http://code.google.com/p/chromium/issues/detail?id=297136) yet, so I modified the affected functions to call
lineHeight directly. I renamed logicalHeightForLine to minLineHeightForReplacedRenderer, and I made the second
parameter a mandatory for that function.

Merged WebKit revision: http://trac.webkit.org/changeset/156197

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

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