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