Issue #1665 - Take overflow-wrap into account when calculating min-content intrinsic size.

This commit is contained in:
Moonchild 2020-10-03 12:45:27 +00:00 • committed by roytam1
commit 6f8365a077
3 changed files with 44 additions and 0 deletions

View file

@ -297,6 +297,12 @@ public:
return GetAdvanceWidth(Range(this), nullptr);
}
/**
* Computes the minimum advance width for a substring assuming line
* breaking is allowed everywhere.
*/
gfxFloat GetMinAdvanceWidth(Range aRange);
/**
* Clear all stored line breaks for the given range (both before and after),
* and then set the line-break state before aRange.start to aBreakBefore and