Issue #2068 - Only wrap the last line of inline elements when positively padding to the right.

This fixes the 21 year old Mozilla bug 122795.

Co-authored-by: Jonathan Kew <jfkthame@gmail.com>
This commit is contained in:
Job Bautista 2022-12-24 17:41:31 +08:00 committed by roytam1
commit ca3361fb57
3 changed files with 18 additions and 7 deletions

View file

@ -677,7 +677,8 @@ protected:
bool aCanRollBackBeforeFrame,
ReflowOutput& aMetrics,
nsReflowStatus& aStatus,
bool* aOptionalBreakAfterFits);
bool* aOptionalBreakAfterFits,
bool aAlreadyOverflowed);
void PlaceFrame(PerFrameData* pfd,
ReflowOutput& aMetrics);