[Webkit-unassigned] [Bug 255434] New: [margin-trim] RenderBox should not be performing trimming
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 13 21:18:57 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=255434
Bug ID: 255434
Summary: [margin-trim] RenderBox should not be performing
trimming
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: sgill26 at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
RenderBox performs some trimming inside of constrainBlockMarginInAvailableSpaceOrTrim and computeOrTrimInlineMargin as the renderer goes through layout. This has some unfortunate side effects, such as requiring us to set the rare data bits to indicate the margin has been trimmed at the same location. This action requires a const_cast that could be avoided since trimming should not occur at the RenderBox level and should be occurring completely in the layout system it is in (flex, grid, or block). We should make sure that the trimming logic is contained wholly within each layout system and should remove this logic from RenderBox once it is
--
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/20230414/02a94d5b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list