[Webkit-unassigned] [Bug 259937] New: [IFC] Enable the ability to override available width for line boxes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 8 11:13:57 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259937
Bug ID: 259937
Summary: [IFC] Enable the ability to override available width
for line boxes
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: david_choi5 at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
The available width for a line box is originally determined by the HorizontalConstraints struct. However, it is sometimes desirable to override that width constraint. One potential reason to override that width constraint is to force line breaks at particular inline items. (Currently, there is no way to specify to the LineBuilder to break at certain InlineItems, and the only way to do so is to modify the available space on the line.) This is useful for CSS properties such as text-wrap, which need to make line-breaking decisions that do not follow the current greedy approach of filling up the entire available width.
--
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/20230808/ef95de5c/attachment.htm>
More information about the webkit-unassigned
mailing list