[Webkit-unassigned] [Bug 25444] SelectionStart, selectionEnd properties return wrong values when the selection is in a form input

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 3 19:38:37 PDT 2010


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
                 CC|                            |enrica at apple.com,
                   |                            |rniwa at webkit.org

--- Comment #6 from Alexey Proskuryakov <ap at webkit.org>  2010-11-03 19:38:37 PST ---
I didn't think about this patch in depth, just some quick comments.

+    if (!indexPosition.node() 
+        || (indexPosition.node()->rootEditableElement() != m_innerText && !isSelectableElement(indexPosition.node())))

There is no need to wrap this line.

+This script should show: 5, 7

This comment seems obsolete - nothing shows "5, 7" here.

+   - Firefox: OK<br/>
+   - Opera: OK<br/>
+   - Konqueror: OK<br/>
+   - IE: (not supported)

A comment in HTMLInputElement.idl says that this is a WinIE & FireFox extension. Is that wrong? Please fix either the comment or the test.

\ No newline at end of file

Please add one.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list