[Webkit-unassigned] [Bug 24896] New: Range#collapsed is mis-reported after Range#extractContents is called
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 27 13:39:49 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24896
Summary: Range#collapsed is mis-reported after
Range#extractContents is called
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://www.nick-santos.com/tests/range_test2.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nicksantos at google.com
CC: jparent at google.com, ojan at chromium.org
Steps to repro:
1) Given the HTML <div>Some text</div>
2) Create a range that starts at offset 0 of the div and ends at the end of the
text node.
3) call range.extractContents()
Expected result:
range.collapsed == true
Actual result:
range.collapsed == false
See
http://www.nick-santos.com/tests/range_test2.html
for an interactive test case.
Works on FF2/3, and WebKit 525.
Does not work on WebKit 528 and 530.
--
Configure bugmail: https://bugs.webkit.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