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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/LayoutBlockFlowLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
index cce40511d6a42c1b164bcfe0dd295242bad2bea9..a7f45c083f3ebe349a0a7e8fe71172335ed84e35 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -1530,8 +1530,8 @@ void LayoutBlockFlow::layoutInlineChildren(bool relayoutChildren, LayoutUnit& pa
// Text truncation kicks in in two cases:
// 1) If your overflow isn't visible and your text-overflow-mode isn't clip.
// 2) If you're an anonymous block with a block parent that satisfies #1 that was created
- // to accomodate a block that has inline and block children. This excludes parents where
- // canCollapseAnonymousBlockChild is false, notabley flex items and grid items.
+ // to accommodate a block that has inline and block children. This excludes parents where
+ // canCollapseAnonymousBlockChild is false, notably flex items and grid items.
// FIXME: CSS3 says that descendants that are clipped must also know how to truncate. This is insanely
// difficult to figure out in general (especially in the middle of doing layout), so we only handle the
// simple case of an anonymous block truncating when it's parent is clipped.
@@ -1905,7 +1905,7 @@ void LayoutBlockFlow::deleteEllipsisLineBoxes()
if (curr->hasEllipsisBox()) {
curr->clearTruncation();
- // Shift the line back where it belongs if we cannot accomodate an ellipsis.
+ // Shift the line back where it belongs if we cannot accommodate an ellipsis.
LayoutUnit logicalLeft = logicalLeftOffsetForLine(curr->lineTop(), firstLine);
LayoutUnit availableLogicalWidth = logicalRightOffsetForLine(curr->lineTop(), false) - logicalLeft;
LayoutUnit totalLogicalWidth = curr->logicalWidth();

Powered by Google App Engine
This is Rietveld 408576698