Title: [149930] trunk/Source/WebCore
- Revision
- 149930
- Author
- [email protected]
- Date
- 2013-05-11 05:14:17 -0700 (Sat, 11 May 2013)
Log Message
Unreviewed, remove some lint accidentally left in r149929.
* rendering/InlineFlowBox.cpp:
(WebCore::verticalAlignApplies):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (149929 => 149930)
--- trunk/Source/WebCore/ChangeLog 2013-05-11 12:08:57 UTC (rev 149929)
+++ trunk/Source/WebCore/ChangeLog 2013-05-11 12:14:17 UTC (rev 149930)
@@ -1,3 +1,10 @@
+2013-05-11 Robert Hogan <[email protected]>
+
+ Unreviewed, remove some lint accidentally left in r149929.
+
+ * rendering/InlineFlowBox.cpp:
+ (WebCore::verticalAlignApplies):
+
2013-03-17 Robert Hogan <[email protected]>
Text flow broken in elements with vertical align top/bottom and inline elements taller than line-height
Modified: trunk/Source/WebCore/rendering/InlineFlowBox.cpp (149929 => 149930)
--- trunk/Source/WebCore/rendering/InlineFlowBox.cpp 2013-05-11 12:08:57 UTC (rev 149929)
+++ trunk/Source/WebCore/rendering/InlineFlowBox.cpp 2013-05-11 12:14:17 UTC (rev 149930)
@@ -482,9 +482,8 @@
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();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes