Index: third_party/WebKit/Source/core/layout/GeneratedChildren.h |
diff --git a/third_party/WebKit/Source/core/layout/GeneratedChildren.h b/third_party/WebKit/Source/core/layout/GeneratedChildren.h |
index c97bc8be1ba6518a5415ac9c08a1575cebeab41a..819a82e7cda6f06641d502672d14f3d62a2e75bd 100644 |
--- a/third_party/WebKit/Source/core/layout/GeneratedChildren.h |
+++ b/third_party/WebKit/Source/core/layout/GeneratedChildren.h |
@@ -14,15 +14,15 @@ |
// - the block doesn't have any special assumption on its text children. |
// This correctly prevents form controls from having such layoutObjects. |
static bool canHaveGeneratedChildren(const LayoutObject& layoutObject) { |
- // FIXME: LayoutMedia::layout makes assumptions about what children are |
- // allowed so we can't support generated content. |
+ // FIXME: LayoutMedia::layout makes assumptions about what children are allowed |
+ // so we can't support generated content. |
if (layoutObject.isMedia() || layoutObject.isTextControl() || |
layoutObject.isMenuList()) |
return false; |
- // Input elements can't have generated children, but button elements can. |
- // We'll write the code assuming any other button types that might emerge in |
- // the future can also have children. |
+ // Input elements can't have generated children, but button elements can. We'll |
+ // write the code assuming any other button types that might emerge in the future |
+ // can also have children. |
if (layoutObject.isLayoutButton()) |
return !isHTMLInputElement(*layoutObject.node()); |