[Webkit-unassigned] [Bug 29540] New: [Qt] Problem with QWebElement toInnerXml() and toOuterXml() if HTML source contains closed tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 04:58:09 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29540

           Summary: [Qt] Problem with QWebElement toInnerXml() and
                    toOuterXml() if HTML source contains closed tags
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from Nokia internal issue QT-695

--- Description ---

QWebElement generate bad output for toInnerXml and toOuterXml methods if source
HTML contains solo tags. QWebElement tread closed tags (ex. <tag/>) as if they
include data normaly following them .

For example:
--------------------

  source html:
<tag><childtag/>some text</tag>

  result toInnerHtml() for <tag> element should be:
<childtag/>some text or '<childtag></childtag>some text

  but it was:
<childtag>some text</childtag>

  result toOuterHtml() for <tag> element should be:
<tag><childtag/>some text</tag> or '<tag><childtag></childtag>some text</tag>

  but it was:
<tag><childtag>some text</childtag></tag>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list