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(); |