Skip to content
  • ddkilzer@apple.com's avatar
    WebCore: · 8fb21a17
    ddkilzer@apple.com authored
            REGRESSION (r26474): WebKit fails jQuery test 64 core module: text(String) subtest 1 Check escaped text (createTextNode)
    
            <https://bugs.webkit.org/show_bug.cgi?id=18976>
            <rdar://problem/5924793>
    
            Reviewed by Darin.
    
            Tests: fast/dom/dom-parse-serialize-expected.txt:
                   fast/xsl/xslt-processor-expected.txt:
                   fast/xsl/xslt-text-expected.txt:
    
            Commit r26474 removed escaping of '>' characters to '&gt;' in serialized
            HTML content, which broke one jQuery test.  This change restores that
            serialization behavior to both attributes and content for consistency.
    
            * editing/markup.cpp:
            (WebCore::appendAttributeValue): Escape '>' as '&gt;'.
            (WebCore::escapeContentText): Ditto.
            (WebCore::appendEscapedContent): Ditto.  This is the bug fix for the jQuery test.
    
    LayoutTests:
    
            REGRESSION (r26474): WebKit fails jQuery test 64 core module: text(String) subtest 1 Check escaped text (createTextNode)
    
            <https://bugs.webkit.org/show_bug.cgi?id=18976>
            <rdar://problem/5924793>
    
            Reviewed by Darin.
    
            Updated test results now that '>' is escaped to '&gt;' in both
            attributes and content.
    
            * fast/xsl/xslt-processor-expected.txt:
            * fast/xsl/xslt-text-expected.txt:
            * platform/mac/fast/dom/dom-parse-serialize-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8fb21a17