mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Issue #1665 - Take overflow-wrap into account when calculating min-content intrinsic size.
This commit is contained in:
parent
5465ff9914
commit
6f8365a077
3 changed files with 44 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue