[Webkit-unassigned] [Bug 269096] New: InlineContentBalancer::balanceRangeWithLineRequirement keeps empty state vectors when balancing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 9 14:33:52 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=269096
Bug ID: 269096
Summary: InlineContentBalancer::balanceRangeWithLineRequirement
keeps empty state vectors when balancing
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vitor.roriz at apple.com
InlineContentBalancer::balanceRangeWithLineRequirement keeps a track of the optimal balancing solution in a Vector named state.
This Vector seems to be indexed by 1 instead of 0, resulting in 1 always empty line and row of Entries.
state should be of size LxN, being L the number of Lines and N the number of break opportunities.
This is not critical as we just balance for a maximum of 6 lines, but anyway we can probably get rid of it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240209/c45b9997/attachment.htm>
More information about the webkit-unassigned
mailing list