libxml2 fragment parser loses prefix namespaces
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
Showing
Please register or sign in to comment