RESOLVED FIXED237090
[IFC][Integration] LineLayout::firstLinePhysicalBaseline/lastLineLogicalBaseline should flip box baseline value for vertical-lr
https://bugs.webkit.org/show_bug.cgi?id=237090
Summary [IFC][Integration] LineLayout::firstLinePhysicalBaseline/lastLineLogicalBasel...
alan
Reported 2022-02-23 09:38:18 PST
ssia
Attachments
Patch (4.25 KB, patch)
2022-02-23 09:39 PST, alan
ews-feeder: commit-queue-
alan
Comment 1 2022-02-23 09:39:29 PST
Antti Koivisto
Comment 2 2022-02-23 09:46:14 PST
Comment on attachment 452992 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452992&action=review > Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp:466 > + switch (rootLayoutBox().style().writingMode()) { > + case WritingMode::TopToBottom: wonder if the switch could be usefully shared between first/last cases?
alan
Comment 3 2022-02-23 09:53:26 PST
(In reply to Antti Koivisto from comment #2) > Comment on attachment 452992 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=452992&action=review > > > Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp:466 > > + switch (rootLayoutBox().style().writingMode()) { > > + case WritingMode::TopToBottom: > > wonder if the switch could be usefully shared between first/last cases? I'd rather not mix logical and physical translates (the first baseline API returns physical while the last baseline API returns logical baseline value)
EWS
Comment 4 2022-02-23 12:35:21 PST
Committed r290388 (247703@main): <https://commits.webkit.org/247703@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452992 [details].
Radar WebKit Bug Importer
Comment 5 2022-02-23 12:36:16 PST
Note You need to log in before you can comment on or make changes to this bug.