Re: [csswg-drafts] [css-position-3] Coordinates of Containing Blocks of Positioned Boxes from Inline Boxes with Mixed Bidi Direction Text Content are Unclear (#7917)

> Is there a specific reason to not go for the bounding box of all inline boxes of the element?

Yes, there is. If the first fragment is a small portion at the end of a line, for example, then positioning yourself at the start/start corner of the bounding box will cause you to position in an unrelated area, not next to any fragment of the actual inline.

The edits we just pushed do clarify that when there are multiple fragments on the first/last line, you take the visually first/last one (for the reasons you gave in the original comment).

That said, it doesn't appear to be super well-defined what it means if the edges of a containing block are in the wrong order, so we're raising that as a separate issue.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7917#issuecomment-1374142405 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 6 January 2023 21:17:39 UTC