Reviewed by Hyatt.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 06:42:30 +0000 (06:42 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 06:42:30 +0000 (06:42 +0000)
commitb9539904428721e50ba4a36c1af6d83ac8ad0a87
treef9bb69d8b722677abb5684a7ce9ff4eb5e1b705f
parentcaa3445fdcd59ece8be9377ff0946ea5618a425e
    Reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8789
          RenderStyle::getPseudoStyle() always returns 0

        No test possible (no functionality change).

        * dom/Node.cpp:
        (WebCore::Node::diff): When checking if :before or :after has changed,
        return NoInherit unless both pseudoStyles are known and equal.
        * rendering/render_style.cpp:
        (WebCore::RenderStyle::getPseudoStyle): Fixed to match the requested
        type against the pseudoStyle's styleType instead of our own.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/dom/Node.cpp
WebCore/rendering/render_style.cpp