shape-outside: Build RasterShapeIntervals correctly in vertical writing modes.
* Pass a correct WritingMode to LogicalPixelScanner. * ExtractIntervalsFromImageData() requires a logical image rectangle. ShapeOutsideInfo::CreateShapeForImage() converts a physical image rectangle to a logical rectangle. * ExtractIntervalsFromImageData() requires a physical image size too. Shape::CreateRasterShape() maakes it from a logical image rectangle, and pass it to ExtractIntervalsFromImageData(). Bug: 40149424, 359616076 Change-Id: I8c6c43f7e11afbdd2174b5e6f50eb01dbc244d56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5786293 Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1343915}
Loading
Please register or sign in to comment