| Summary: | [IFC][Integration] LineLayout::firstInlineBoxRect should flip the rect coordinates for vertical-rl | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bfulgham, darin, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
zalan
2022-02-22 06:26:59 PST
Created attachment 452866 [details]
Patch
Comment on attachment 452866 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452866&action=review > Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp:580 > + firstBoxRect.setX(flow().width() - firstBoxRect.width() - firstBoxRect.x()); This is better: firstBoxRect.setX(flow().width() - firstBoxRect.maxX()); Also, I think we should switch on writingMode rather than using if statements. Created attachment 452989 [details]
[fast-cq]Patch
Committed r290382 (247697@main): <https://commits.webkit.org/247697@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452989 [details]. |