RESOLVED FIXED 278030
[text-box-edge/line-fit-edge] Add support for line-fit-edge and update text-box-edge
https://bugs.webkit.org/show_bug.cgi?id=278030
Summary [text-box-edge/line-fit-edge] Add support for line-fit-edge and update text-b...
Attachments
Patch (57.26 KB, patch)
2024-08-13 11:02 PDT, zalan
no flags
Patch (66.60 KB, patch)
2024-08-13 12:25 PDT, zalan
ews-feeder: commit-queue-
[fast-cq]Patch (81.74 KB, patch)
2024-08-13 17:27 PDT, zalan
no flags
zalan
Comment 1 2024-08-13 11:02:41 PDT
zalan
Comment 2 2024-08-13 11:03:07 PDT
tests needs to be updated before landing this.
Antti Koivisto
Comment 3 2024-08-13 11:38:36 PDT
Comment on attachment 472141 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=472141&action=review > Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h:171 > - TextBoxEdge textBoxEdge; > + TextEdge textBoxEdge; > + TextEdge lineFitEdge; Do we actually need both values here or could they just be reduces to a single value when constructing the Style?
zalan
Comment 4 2024-08-13 11:47:41 PDT
(In reply to Antti Koivisto from comment #3) > Comment on attachment 472141 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=472141&action=review > > > Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h:171 > > - TextBoxEdge textBoxEdge; > > + TextEdge textBoxEdge; > > + TextEdge lineFitEdge; > > Do we actually need both values here or could they just be reduces to a > single value when constructing the Style? I think you are right. We only need one (root vs. non-root inline box)
zalan
Comment 5 2024-08-13 12:25:45 PDT
fantasai
Comment 6 2024-08-13 13:50:18 PDT
Comment on attachment 472141 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=472141&action=review > Source/WebCore/layout/formattingContexts/inline/InlineLevelBoxInlines.h:51 > + m_style.textBoxEdge = m_style.lineFitEdge; Not sure what's happening here, but the text-box-edge in question needs to be the one of the block container requesting the trim (which may be an ancestor).
zalan
Comment 7 2024-08-13 17:27:59 PDT
Created attachment 472146 [details] [fast-cq]Patch
Antti Koivisto
Comment 8 2024-08-14 00:36:52 PDT
Comment on attachment 472146 [details] [fast-cq]Patch View in context: https://bugs.webkit.org/attachment.cgi?id=472146&action=review > Source/WebCore/rendering/style/RenderStyleConstants.h:722 > + Auto, > Leading, maybe add a comment that these values only show up in a certain properties
EWS
Comment 9 2024-08-14 05:10:15 PDT
Committed 282228@main (5163a893fe8b): <https://commits.webkit.org/282228@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 472146 [details].
Radar WebKit Bug Importer
Comment 10 2024-08-14 05:11:13 PDT
zalan
Comment 11 2024-08-14 05:17:47 PDT
(In reply to Antti Koivisto from comment #8) > Comment on attachment 472146 [details] > [fast-cq]Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=472146&action=review > > > Source/WebCore/rendering/style/RenderStyleConstants.h:722 > > + Auto, > > Leading, > > maybe add a comment that these values only show up in a certain properties oops, gonna address this as post-landing. :(
Note You need to log in before you can comment on or make changes to this bug.