LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Oct 2006 17:39:43 +0000 (17:39 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Oct 2006 17:39:43 +0000 (17:39 +0000)
commitfa121e1568860fa6bb06df2899e1fd9cde402097
treea6480ea353f1203aecc240e7e4a7aff813044478
parentf2d8ea0d421511fdb7af58f5872801a587cb0373
LayoutTests:

        Reviewed by Anders.

        - removed non-deterministic behavior in editing that was causing
          give inconsistent results for editing/pasteboard/copy-paste-bidi.html

        * editing/pasteboard/copy-paste-bidi-expected.txt: New results, without the
        anonymous block that sometimes appeared and sometimes did not.

WebCore:

        Reviewed by Anders.

        - removed non-deterministic behavior in editing that was causing
          give inconsistent results for editing/pasteboard/copy-paste-bidi.html

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::removeRedundantStyles):
        Use two vectors instead of a map: more efficient, deterministic. There was no
        reason to use a hash table.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/copy-paste-bidi-expected.txt
WebCore/ChangeLog
WebCore/editing/ReplaceSelectionCommand.cpp