Skip to content
Commit 02ec2585 authored by andersca's avatar andersca
Browse files

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
parent a2a0f808
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment