Table conent is rendered over the border when colspan present with rowspan.

Some height is given to all row with only spanning cells even it is not required.

If row spanning cell content is flowing out of cell boundries then only
row with only spanning cells gets one part of spanning cell's height.

Both functions isHeightNeededForRowHavingOnlySpanningCells() and
rowHasOnlySpanningCells() are different. logic is same in both but resultant
from both based on different criteria.
rowHasOnlySpanningCells() returns true when only spanning cells present in row.
isHeightNeededForRowHavingOnlySpanningCells() returns true when height of one or more
spanning cells in row is not having expected height.

Example 1:
<tr><td rowspan="2">r0c0</td></tr><tr><td>r1c1</td></tr>
Example 2:
<tr><td rowspan="3">r0c0</td><td>r0c1</td></tr><tr><td>r1c1</td></tr>
In these example, first row in first example and third row in second example
always should have 0 height.
If rowHasOnlySpanningCells() condition is not there then first row will get
height when isHeightNeededForRowHavingOnlySpanningCells() will return true.

R=jchaffraix@chromium.org
BUG=295500

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158175 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix for link highlighting of <img> links

Temporary fix for <img> inside <a>. I changed the node that gets passed to the LinkHighlight object. Previously, when a node was tapped, we'd go up the tree until we find a node that causes a "hand cursor" and use that. Now, we do the same but we stop ascending up the tree if a node isn't contained by its parent's box.

In the long term, the LinkHighlight should be changed to use the entire hit testing region of the node, rather than the line box.

Note: This is relanding of https://codereview.chromium.org/24110002/. The only change from that patch is in WebViewImpl.cpp and a new layout test for the offending crash.

BUG=170673

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

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