2011-05-26 Shane Stephens <shanestephens@google.com>
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 27 May 2011 18:01:30 +0000 (15:01 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 27 May 2011 18:01:30 +0000 (15:01 -0300)
commitf201b09cc61485bfcb16617869f44b1d4e6001b8
tree19bd02f5739feef20c1c4e55f95943c0d4c7384c
parent9682ccf20f6cbc1435bc6a420b6de258448315ab
2011-05-26  Shane Stephens  <shanestephens@google.com>

        Reviewed by James Robinson.

        REGRESSION (r81992): layout triggered by position update fails to apply when transform is updated at same time
        https://bugs.webkit.org/show_bug.cgi?id=60689

        * transforms/2d/set-transform-and-top-expected.txt: Added.
        * transforms/2d/set-transform-and-top.html: Added.
2011-05-26  Shane Stephens  <shanestephens@google.com>

        Reviewed by James Robinson.

        REGRESSION (r81992): layout triggered by position update fails to apply when transform is updated at same time
        https://bugs.webkit.org/show_bug.cgi?id=60689

        When a transform is modified in a style, we were upgrading our understanding
        of the difference from PositionedMovementOnly to SimplifiedLayout.  However,
        if the position of the style is independently changed at the same time, both
        PositionedMovement and SimplifiedLayout passes are required.

        Test: transforms/2d/set-transform-and-top.html

        * rendering/RenderObject.cpp:
        Added checks for SimplifiedLayoutAndPositionedMovement - when encountered,
        set both PositionedMovement and SimplifiedLayout update flasgs.
        * rendering/style/RenderStyleConstants.h:
        Added a new StyleDifference enum value (SimplifiedLayoutAndPositionedMovement) for
        cases when both PositionedMovement and SimplifiedLayout are required.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

Source/WebCore/ChangeLog
LayoutTests/ChangeLog
LayoutTests/transforms/2d/set-transform-and-top-expected.txt [new file with mode: 0644]
LayoutTests/transforms/2d/set-transform-and-top.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObject.cpp
Source/WebCore/rendering/style/RenderStyleConstants.h