[Bug 12584] New: outerHTML should probably merge with adjacent text nodes if applicable. IE seems to do this to some extent, and WebKit just changed to do it: <https://bugs.webkit.org/show_bug.cgi?id=52686> This test shows behavior for outerText and outerHTML: <http://so

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12584

           Summary: outerHTML should probably merge with adjacent text
                    nodes if applicable.  IE seems to do this to some
                    extent, and WebKit just changed to do it:
                    <https://bugs.webkit.org/show_bug.cgi?id=52686> This
                    test shows behavior for outerText and outerHTML:
                    <http://so
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#out
                    erhtml
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/apis-in-html-documents.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#outerhtml

Comment:
outerHTML should probably merge with adjacent text nodes if applicable.  IE
seems to do this to some extent, and WebKit just changed to do it:
<https://bugs.webkit.org/show_bug.cgi?id=52686> This test shows behavior for
outerText and outerHTML:
<http://software.hixie.ch/utilities/js/live-dom-viewer/saved/971> (Opera never
merges, IE9 merges for outerText and partially merges for outerHTML, WebKit
now fully merges for both, Gecko doesn't implement either)

Posted from: 68.175.61.233
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like
Gecko) Chrome/12.0.742.12 Safari/534.30

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 2 May 2011 22:41:42 UTC