[Webkit-unassigned] [Bug 12735] New: innerHTML for <pre> element is not markup but = innerText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 11 10:18:56 PST 2007


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

           Summary: innerHTML for <pre> element is not markup but =
                    innerText
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P4
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: stele at email.ch


if a page contains something like

<pre>
   some text describing markup, eg <b>
</pre>

the html returned by inner/outerHTML of any of its parents is

<pre>
   some text describing markup, eg <b>
</pre>

I assume that "startMarkup" in "markup.cpp" should not call
"stringValueForRange" for a "preTag", but use the reular path. If I remove the
preTag from the "if" at the beginning of the "case Node::TEXT_NODE" I get the
desired result.


-- 
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