Source/WebCore: Not use anonymousContainer on beforeChild calculation
authorinferno@chromium.org <inferno@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2011 22:05:07 +0000 (22:05 +0000)
committerinferno@chromium.org <inferno@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2011 22:05:07 +0000 (22:05 +0000)
commitcff588740c1ea81b5cca92d54736028319193b50
tree725269b4948b3b98ec984e03dcd1199303a895a1
parent24ddce3bf52fcdeadd004a0c59b28a7d13d96a3d
Source/WebCore: Not use anonymousContainer on beforeChild calculation
and let later code handle it. Fix style update on block-level
anonymous objects.
https://bugs.webkit.org/show_bug.cgi?id=67656

Reviewed by David Hyatt.

Test: fast/table/quote-text-around-iframe.html

* rendering/RenderTable.cpp:
(WebCore::RenderTable::addChild):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::styleDidChange):
* rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::addChild):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::propagateStyleToAnonymousChildren):

LayoutTests: Not use anonymousContainer on beforeChild calculation
and let later code handle it.
https://bugs.webkit.org/show_bug.cgi?id=67656

Reviewed by David Hyatt.

* fast/table/quote-text-around-iframe.html: Added.
* fast/table/table-row-style-not-updated-with-after-content-expected.txt:
* platform/mac/fast/table/quote-text-around-iframe-expected.png: Added.
* platform/mac/fast/table/quote-text-around-iframe-expected.txt: Added.
and lot of style propagation rebaselines.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/table/quote-text-around-iframe.html [new file with mode: 0644]
LayoutTests/fast/table/table-cell-before-after-content-around-table-block-expected.txt
LayoutTests/fast/table/table-cell-before-after-content-around-table-expected.txt
LayoutTests/fast/table/table-row-before-after-content-around-block-expected.txt
LayoutTests/fast/table/table-row-before-after-content-around-table-expected.txt
LayoutTests/fast/table/table-row-style-not-updated-with-after-content-expected.txt
LayoutTests/platform/mac/fast/css-generated-content/table-cell-before-content-expected.txt
LayoutTests/platform/mac/fast/table/quote-text-around-iframe-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/table/quote-text-around-iframe-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/table/table-cell-after-child-in-block-expected.txt
LayoutTests/platform/mac/fast/table/table-cell-before-child-in-block-expected.txt
LayoutTests/platform/mac/fast/table/table-row-after-child-in-block-expected.txt
LayoutTests/platform/mac/fast/table/table-row-before-child-in-block-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObject.cpp
Source/WebCore/rendering/RenderTable.cpp
Source/WebCore/rendering/RenderTableRow.cpp
Source/WebCore/rendering/RenderTableSection.cpp