Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: third_party/WebKit/Source/core/layout/GeneratedChildren.h

Issue 2391893004: Reformat comments in core/layout up until LayoutBox (Closed)
Patch Set: Rebase w/HEAD (again) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 819a82e7cda6f06641d502672d14f3d62a2e75bd..c97bc8be1ba6518a5415ac9c08a1575cebeab41a 100644
--- a/third_party/WebKit/Source/core/layout/GeneratedChildren.h
+++ b/third_party/WebKit/Source/core/layout/GeneratedChildren.h
@@ -14,15 +14,15 @@ namespace blink {
// - 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());
« no previous file with comments | « third_party/WebKit/Source/core/layout/FragmentationContext.h ('k') | third_party/WebKit/Source/core/layout/HitTestCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698