Unreviewed, remove some lint accidentally left in r149929.
authorrobert@webkit.org <robert@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 May 2013 12:14:17 +0000 (12:14 +0000)
committerrobert@webkit.org <robert@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 May 2013 12:14:17 +0000 (12:14 +0000)
* rendering/InlineFlowBox.cpp:
(WebCore::verticalAlignApplies):

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/InlineFlowBox.cpp

index 4e3d589..818d9f1 100644 (file)
@@ -1,3 +1,10 @@
+2013-05-11  Robert Hogan  <robert@webkit.org>
+
+        Unreviewed, remove some lint accidentally left in r149929.
+
+        * rendering/InlineFlowBox.cpp:
+        (WebCore::verticalAlignApplies):
+
 2013-03-17  Robert Hogan  <robert@webkit.org>
 
         Text flow broken in elements with vertical align top/bottom and inline elements taller than line-height
index 30836bd..6beaca4 100644 (file)
@@ -482,9 +482,8 @@ bool InlineFlowBox::requiresIdeographicBaseline(const GlyphOverflowAndFallbackFo
 
 static bool verticalAlignApplies(RenderObject* curr)
 {
-    // The vertical-align property only applies to inline elements and table cells.
-    if (curr->isRenderBlock() && !curr->isInline())
-        printf("block-flow block\n");
+    // http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align - vertical-align
+    // only applies to inline level and table-cell elements
     return !curr->isText() || curr->parent()->isInline() || curr->parent()->isTableCell();
 }