<rdar://problem/10208291> first-letter in generated before content with display:...
[WebKit-https.git] / Source / WebCore / ChangeLog
index f771ed637e93f28e8ee7b9532a30dffe9332b169..814ed0745bcd943676b127d8a5a08e897652ada7 100644 (file)
@@ -1,3 +1,16 @@
+2011-09-30  Dan Bernstein  <mitz@apple.com>
+
+        <rdar://problem/10208291> first-letter in generated before content with display: table is not updated
+
+        Reviewed by Sam Weinig.
+
+        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.
+
 2011-09-30  Cary Clark  <caryclark@google.com>
 
         Inset focus ring (Skia on Mac)