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)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: cehlen, Assigned: jst)
Details
Attachments
(1 file)
1.21 KB,
text/html
|
Details |
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);
.
.
.
Assignee | ||
Comment 1•25 years ago
|
||
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.
Reporter | ||
Comment 2•25 years ago
|
||
Comment 3•24 years ago
|
||
WORKSFORME 20000512.
Gerv
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Comment 4•24 years ago
|
||
Works for me:
Platform: PC
OS: Windows 98
Mozilla Build: 2000101014 M18 Trunk Build
Marking as Verified.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•