Bug 1637130 - Update the comment for overflow areas in nsLineBox. r=dbaron

The combined overflow area has been split into ink and scrollable
overflow areas in bug 542595. Drop the sentence related to it, and
update the old comment.

Differential Revision: https://phabricator.services.mozilla.com/D84232
This commit is contained in:
Ting-Yu Lin 2020-07-20 22:07:09 +00:00
Родитель fdc00547f6
Коммит 1fa50acb6d
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -400,10 +400,9 @@ class nsLineBox final : public nsLineLink {
void AppendFloats(nsFloatCacheFreeList& aFreeList);
bool RemoveFloat(nsIFrame* aFrame);
// Combined area is the area of the line that should influence the
// overflow area of its parent block. The combined area should be
// used for painting-related things, but should never be used for
// layout (except for handling of 'overflow').
// The ink overflow area should never be used for things that affect layout.
// The scrollable overflow area are permitted to affect layout for handling of
// overflow and scrollbars.
void SetOverflowAreas(const nsOverflowAreas& aOverflowAreas);
mozilla::LogicalRect GetOverflowArea(nsOverflowType aType,
mozilla::WritingMode aWM,