• jpfau@apple.com's avatar
    libxml2 fragment parser loses prefix namespaces · 60885077
    jpfau@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=66423
    
    Source/WebCore:
    
    This makes the loop over the elements outside of the context actually update the element it's processing.
    
    Reviewed by Darin Adler.
    
    Test: fast/parser/innerhtml-with-prefixed-elements.xhtml
    
    * xml/parser/XMLDocumentParserLibxml2.cpp:
    (WebCore::XMLDocumentParser::XMLDocumentParser):
    
    LayoutTests:
    
    Added a test to ensure that elements inserted when the prefix is already declared are inserted properly.
    
    Reviewed by Darin Adler.
    
    * fast/parser/innerhtml-with-prefixed-elements.xhtml: Added.
    * platform/chromium/test_expectations.txt:
    * platform/mac/fast/parser/innerhtml-with-prefixed-elements-expected.png: Added.
    * platform/mac/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Added.
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@93452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    60885077
ChangeLog 2.04 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.