- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Wed, 18 Oct 2023 09:55:48 +0000
- To: public-css-archive@w3.org
One question to be considered -- I'm sure it has been discussed previously, but don't have links on hand -- is how middle-cropping behaves in the case of mixed-direction (bidi) content. Does the line first get laid out without cropping, and then content is elided from the *visual* middle such that the edges are unchanged, or does content get elided from the *logical* middle of the line and the reduced content then laid out? So, using uppercase letters to represent RTL characters, if we have a line where the full content is > abcdefghijklmZYXWVUTSRQPON we have two possible results: (1) "visual middle" ellipsis would give something like > abcdef…SRQPON (2) "logical middle" ellipsis, on the other hand, would give us > abcdef…ZYXWVU I tend to think (2) is the better result in most situations, given that the point of middle-ellipsis is to keep the beginning and end of the content visible, but this might not always be the desired result? Implementation-wise, there may be some tricky cases here. -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3937#issuecomment-1768097755 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 18 October 2023 09:55:49 UTC