• kocienda's avatar
    Reviewed by John · e0298176
    kocienda authored
            * khtml/editing/htmlediting_impl.cpp:
            (khtml::ApplyStyleCommandImpl::doApply): Remove the StayInBlock modifier from the
            call to upstream when passing the start position to removeStyle(). This makes the
            start position sufficiently upstream so that all relevant style tags are removed.
            (khtml::ApplyStyleCommandImpl::removeStyle): Pass the start position to nodeFullySelected.
            (khtml::ApplyStyleCommandImpl::nodeFullySelected): Change interface so start position
            for calculation is passed in, rather than recalculating it every time.
            * khtml/editing/htmlediting_impl.h: nodeFullySelected interface change.
            * khtml/xml/dom_position.h: Add a comment about the working of upstream() and
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7373 268f45cc-cd09-0410-ab3c-d52691b4dbfc