shape-outside: Convert physical margin rectangles to logical earlier
We had a plan to convert physical margin rectangles to logical rectangles in ExtractIntervalsFromImageData(), however, it's difficult because: - The function doesn't know the reference box size. - WritingModeConverter doesn't support gfx::Rect. So, we changed the plan so that rectangles are converted in ShapeOutsideInfo::CreateShapeForImage(). Bug: 359616076 Change-Id: I3837eee77c20afa53b3d125032b6d5a2664512b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5796947 Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1343914}
Loading
Please register or sign in to comment