<rdar://problem/
10208291> first-letter in generated before content with display: table is not updated
Reviewed by Sam Weinig.
Source/WebCore:
Test: fast/css-generated-content/first-letter-in-nested-before.html
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::updateBeforeAfterContent): Preserve the style type of anonymous
containers around the generated content when updating their style. This preserves the first-letter-ness
of the inline wrapping the first letter, which allows updateFirstLetter() to identify it later.
LayoutTests:
* fast/css-generated-content/first-letter-in-nested-before-expected.png: Added.
* fast/css-generated-content/first-letter-in-nested-before-expected.txt: Added.
* fast/css-generated-content/first-letter-in-nested-before.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@96427
268f45cc-cd09-0410-ab3c-
d52691b4dbfc