[Webkit-unassigned] [Bug 18786] New: Once rendered, text removed from DOM remains displayed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 28 09:32:30 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18786

           Summary: Once rendered, text removed from DOM remains displayed.
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gbrauen at connect.carleton.ca
                CC: ahayes at polkaroo.net, bugzilla at fiset.ca


I have an application that manages objects and text dynamically, sometimes
replacing graphics and text based on user input.  In the latest webkit
nightlies and in Safari 3.1, removing <text> elements from the DOM does not
remove them from the display.

I will attach a simplified SVG test file that demonstrates the problem.  In
this case, I statically create a group containing graphics and text, let it
render when loaded but use an onload function to start a timer that removes all
elements within a specified <g> after a 1 second timeout.  The graphics
disappear but the text remains visible.  Both the graphics and the text have
been removed from the DOM.

This works in the latest Firefox 2 builds: both graphics and text disappear.

Although my work on this app has been dormant for a while, this used to work in
Safari 3.0.  I went back as far as nightly build r29862 (January 30, 2008) and
this has been broken in webkit nightlies at least that long.


-- 
Configure bugmail: http://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