- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Wed, 6 Aug 2008 07:11:31 +1200
- To: "Bert Bos" <bert@w3.org>
- Cc: www-style@w3.org
- Message-ID: <11e306600808051211k1dfd3d66p607722db1c07c727@mail.gmail.com>
On Wed, Aug 6, 2008 at 12:58 AM, Bert Bos <bert@w3.org> wrote: > Not sure that is what you are saying, but I think there should never be > anything between the ellipsis and the boundary of the box: You lay out > the lines using the bidi-algorithm, and then remove characters from the > end of the *visual* lines: > > +-----------------------------------+ > | This is a sentence with some SDROW| WERBEH inside. > +-----------------------------------+ > > becomes > > +-----------------------------------+ > | This is a sentence with some SD...| > +-----------------------------------+ > I think that's what he meant. It's certainly easier to implement and it's what's implemented in IE (the other browsers aren't really trying to handle the bidi situation). Not sure. I would expect an inline block to be treated very much like a > letter. E.g.: > > +-----------------------------------+ > | 3-line | > | Here is a sentence with a high i|n the middle. > | button | > +-----------------------------------+ > > becomes > > +-----------------------------------+ > | | > | Here is a sentence with a... | > | | > +-----------------------------------+ > I don't think we should do anything with inline-blocks. In most respects inline-blocks behave like replaced elements and I think they should here too. The principle, I think, is that the ellipsis should be treated as much > as possible as the letter just before it, because visually they form > one whole. > I would have liked this to be the case, but there's interoperable implementation making the ellipsis use the style of the element that had text-overflow set on it, so that kinda blows that principle out of the water. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]
Received on Tuesday, 5 August 2008 19:12:10 UTC