Source/WebCore: Style not updated for table parts in :before, :after content.
authorAbhishek Arya <inferno@chromium.org>
Tue, 30 Aug 2011 21:22:48 +0000 (21:22 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 2 Sep 2011 17:46:48 +0000 (14:46 -0300)
commit3658eb5055d0d50b051d6521968fac1206b6f5ed
tree1c927ea5f498e4e79d925e4f3a75739c1a163909
parentee57c0a90ae6c8c69321e5b713a14c1b0be2bfef
Source/WebCore: Style not updated for table parts in :before, :after content.
https://bugs.webkit.org/show_bug.cgi?id=66141

Reviewed by Dave Hyatt.

Tests: fast/table/table-before-child-style-update.html
       fast/table/table-row-before-child-style-update.html

* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::updateBeforeAfterContent):

LayoutTests: Style not updated for table parts in :before, :after content.
https://bugs.webkit.org/show_bug.cgi?id=66141

1. 2 new tests show that the blue and green boxes don't overlap
after the fix.
2. update r93794 tests showing that style info is propagated.

Reviewed by Dave Hyatt.

* fast/table/table-before-child-style-update-expected.png: Added.
* fast/table/table-before-child-style-update-expected.txt: Added.
* fast/table/table-before-child-style-update.html: Added.
* fast/table/table-row-before-child-style-update-expected.png: Added.
* fast/table/table-row-before-child-style-update-expected.txt: Added.
* fast/table/table-row-before-child-style-update.html: Added.
* platform/mac/fast/table/table-after-child-in-table-expected.txt:
* platform/mac/fast/table/table-before-child-in-table-expected.txt:
* platform/mac/fast/table/table-row-after-child-in-block-expected.txt:
* platform/mac/fast/table/table-row-after-child-in-table-expected.txt:
* platform/mac/fast/table/table-row-before-child-in-block-expected.txt:
* platform/mac/fast/table/table-row-before-child-in-table-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/table/table-before-child-style-update-expected.png [new file with mode: 0644]
LayoutTests/fast/table/table-before-child-style-update-expected.txt [new file with mode: 0644]
LayoutTests/fast/table/table-before-child-style-update.html [new file with mode: 0644]
LayoutTests/fast/table/table-row-before-child-style-update-expected.png [new file with mode: 0644]
LayoutTests/fast/table/table-row-before-child-style-update-expected.txt [new file with mode: 0644]
LayoutTests/fast/table/table-row-before-child-style-update.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/css-generated-content/table-row-before-after-child-add-expected.txt
LayoutTests/platform/mac/fast/css-generated-content/table-table-before-after-child-add-expected.txt
LayoutTests/platform/mac/fast/table/table-after-child-in-table-expected.txt
LayoutTests/platform/mac/fast/table/table-before-child-in-table-expected.txt
LayoutTests/platform/mac/fast/table/table-row-after-child-in-block-expected.txt
LayoutTests/platform/mac/fast/table/table-row-after-child-in-table-expected.txt
LayoutTests/platform/mac/fast/table/table-row-before-child-in-block-expected.txt
LayoutTests/platform/mac/fast/table/table-row-before-child-in-table-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObjectChildList.cpp