[Webkit-unassigned] [Bug 10996] New: WebKit needs (possibly private) XML/SVG innerText support (for DumpRenderTree)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Sep 23 04:37:05 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10996

           Summary: WebKit needs (possibly private) XML/SVG innerText
                    support (for DumpRenderTree)
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P4
         Component: XML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: macdome at opendarwin.org


WebKit needs (possibly private) XML/SVG innerText support (for DumpRenderTree)

Currently DumpRenderTree uses the following code for dumping text from a
document:

            if ([documentElement isKindOfClass:[DOMHTMLElement class]])
                result = [[(DOMHTMLElement *)documentElement innerText]
stringByAppendingString:@"\n"];
            else
                result = [[documentElement valueForKey:@"textContent"]
stringByAppendingString:@"\n"];

This results in pretty much totally broken text content for SVG or XML-based
layout tests.  The dumped content includes the contents of script tags, lacks
newlines, and is generally bad.  For an example, see the soon-to-be committed
LayoutTests/svg/custom/stroke-width-click-expected.txt results.


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