[Webkit-unassigned] [Bug 7152] REGRESSION: Select All does not highlight table if it's last in the document

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Feb 19 11:24:18 PST 2006


------- Comment #6 from darin at apple.com  2006-02-19 11:24 PDT -------
Here's what it looks like to me.

The problem is caused by the fact that there is a visible position after the
table, represented as the <div> element of the table with offset 1 (meaning
"past the text node inside"). This shows up as the "deep equivalent" of the
position, but RenderCanvas::setSelection can't deal with a selection end node
that is a node with children that also need to be selected. It expects to see
only positions that are "deep equivalents". In the case of this document, that
means that the position needs to be at the end of a text node, not in a parent
node with an offset past that text node.

I think the long term direction may be to correct functions like
RenderCanvas::setSelection to deal with endpoints like these, but it's not
clear to me yet what the short term solution should be.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list