Closed Bug 33607 Opened 25 years ago Closed 24 years ago

When modifying the childNodes of a DIV element more than once the display is not properly refreshed.

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: cehlen, Assigned: jst)

Details

Attachments

(1 file)

var v_range; var v_contFrag; var v_dpc=document.getElementById('mydiv'); . . . //The first time this runs it works fine. v_range=dpc.ownerDocument.createRange(); v_range.selectNodeContents(dpc); v_range.deleteContents(); v_contFrag=v_range.createContextualFragment(p_html); dpc.appendChild(v_contFrag); . . . . //Every other time after the first, it appears to only clear the content. //Howerver if you minimize and then maximize the mozilla window, the new //content appears. v_range=dpc.ownerDocument.createRange(); v_range.selectNodeContents(dpc); v_range.deleteContents(); v_contFrag=v_range.createContextualFragment(p_html); dpc.appendChild(v_contFrag); . . .
Please attach a complete (minimized if possible) testcase.
Summary: When modifying the childNodes of a DIV element more than once the display is not properly refreshed. → When modifying the childNodes of a DIV element more than once the display is not properly refreshed.
QA Contact: gerardok → janc
WORKSFORME 20000512. Gerv
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Works for me: Platform: PC OS: Windows 98 Mozilla Build: 2000101014 M18 Trunk Build Marking as Verified.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: