Skip to content
Commit a6060169 authored by Kent Tamura's avatar Kent Tamura Committed by Chromium LUCI CQ
Browse files

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: default avatarKoji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1343914}
parent 4b8e2e7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment