Bug 285270

Summary: Fix WritingMode::isLineInverted to return correctly for sideways-lr
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 166941    

fantasai
Reported 2024-12-31 19:39:21 PST
The logic in WritingMode::isLineInverted fails to account for `writing-mode: sideways-lr` since it fails to distinguish between `vertical-lr` and `sideways-lr`. Also we should be using it in `BoxGeometryUpdater::formattingContextConstraints` where we're incorrectly checking isBlockFlipped() instead.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-12-31 19:39:30 PST
fantasai
Comment 2 2025-01-01 00:53:28 PST
EWS
Comment 3 2025-01-02 12:00:08 PST
Committed 288371@main (f4b48e25beae): <https://commits.webkit.org/288371@main> Reviewed commits have been landed. Closing PR #38446 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.