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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h

Issue 2699393002: Place ellipsis correctly inside inline-blocks (Closed)
Patch Set: bug 133700 Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 InlineIterator& cleanLineStart, 933 InlineIterator& cleanLineStart,
934 BidiStatus& cleanLineBidiStatus); 934 BidiStatus& cleanLineBidiStatus);
935 bool lineBoxHasBRWithClearance(RootInlineBox*); 935 bool lineBoxHasBRWithClearance(RootInlineBox*);
936 bool checkPaginationAndFloatsAtEndLine(LineLayoutState&); 936 bool checkPaginationAndFloatsAtEndLine(LineLayoutState&);
937 bool matchedEndLine(LineLayoutState&, 937 bool matchedEndLine(LineLayoutState&,
938 const InlineBidiResolver&, 938 const InlineBidiResolver&,
939 const InlineIterator& endLineStart, 939 const InlineIterator& endLineStart,
940 const BidiStatus& endLineStatus); 940 const BidiStatus& endLineStatus);
941 void deleteEllipsisLineBoxes(); 941 void deleteEllipsisLineBoxes();
942 void checkLinesForTextOverflow(); 942 void checkLinesForTextOverflow();
943 void tryPlacingEllipsisOnAtomicInlines(RootInlineBox*,
944 LayoutUnit blockRightEdge,
945 LayoutUnit blockLeftEdge,
946 LayoutUnit width,
947 const AtomicString&);
943 void markLinesDirtyInBlockRange(LayoutUnit logicalTop, 948 void markLinesDirtyInBlockRange(LayoutUnit logicalTop,
944 LayoutUnit logicalBottom, 949 LayoutUnit logicalBottom,
945 RootInlineBox* highest = nullptr); 950 RootInlineBox* highest = nullptr);
946 // Positions new floats and also adjust all floats encountered on the line if 951 // Positions new floats and also adjust all floats encountered on the line if
947 // any of them have to move to the next page/column. 952 // any of them have to move to the next page/column.
948 void positionDialog(); 953 void positionDialog();
949 954
950 // END METHODS DEFINED IN LayoutBlockFlowLine 955 // END METHODS DEFINED IN LayoutBlockFlowLine
951 }; 956 };
952 957
953 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 958 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
954 959
955 } // namespace blink 960 } // namespace blink
956 961
957 #endif // LayoutBlockFlow_h 962 #endif // LayoutBlockFlow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698