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

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: CL Description change, Typo patch apply to upstream master. Created 5 years 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 936078bcb9e71c23baa9dded15048198a79e9fb2..073e1631cbdb3dc96dc2292f378846e8c415a656 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -1537,8 +1537,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.
@@ -1917,7 +1917,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();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698