WebCore:
2006-06-13 Anders Carlsson <acarlsson@apple.com> Reviewed by Dave Hyatt. http://bugzilla.opendarwin.org/show_bug.cgi?id=9427 xml-stylesheet processing instructions outside of the prolog should have no effect. * dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::checkStyleSheet): Remove todo comment. * dom/xml_tokenizer.cpp: (WebCore::XMLTokenizer::processingInstruction): Only check for style sheet if the root element hasn't yet been encountered. LayoutTests: 2006-06-13 Anders Carlsson <acarlsson@apple.com> Reviewed by Dave Hyatt. http://bugzilla.opendarwin.org/show_bug.cgi?id=9427 * fast/css/resources/xml-stylesheet-pi-not-in-prolog.css: Added. * fast/css/xml-stylesheet-pi-not-in-prolog.xml: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@14846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Loading
Please register or sign in to comment