Closed Bug 452599 Opened 16 years ago Closed 8 years ago

insertText(0, str) fails on empty contentEditable element

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: surkov, Assigned: surkov)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [auto-closed:inactivity])

Attachments

(1 file)

insertText(0, str) fails on empty contentEditable element, similar with bug 452161
Depends on: 452161
taking since I'm here
Assignee: nobody → surkov.alexander
I can confirm this still in latest 3.1 nightly using the address bar and accProbe. This was also reported on the m.d.accessibility newsgroup on december 4.
Blocks: texta11y
Depends on: 567045
I can reproduce it also here with accerciser with the attached test case:
In [1]: t = acc.queryEditableText()
In [2]: t.insertText(0,"hola",4)
Out[2]: True
In [3]: t = acc.queryText()
In [4]: t.getText(0,4)
Out[4]: ''

[Manually writing some text] 

In [5]: t.getText(0,4)
Out[5]: 'sdff'
In [6]: t = acc.queryEditableText()
In [7]: t.insertText(0,"hola",4)
Out[7]: True
In [8]: t = acc.queryText()
In [9]: t.getText(0,8)
Out[9]: 'holasdff'
Attached file Test case
Depends on: 626660
AUTO-CLOSED. This bug untouched for over 2000 days. Please reopen if you can confirm the bug and help it progress.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [auto-closed:inactivity]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: