W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-display][css-flexbox][css-grid] Interaction of 'display: contents' and 'run of text'

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Apr 2017 19:20:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-297514219-1493234429-sysbot+gh@w3.org>
@SelenIT From your description it seems you meant you want a run of text to be a run of multiple text box instead of a single text box, right? In the example from the first comment, Foo and Bar will need to be in different text boxes, because that's the mechanism which allows different styles, or that's what I understood.

I'm not interested in fonts so I don't know about font fallbacks. But I'm not convinced it's exactly the same, even if some character is not supported by the font and a fallback is used, its text box will still have the same specified font. `display: contents` allows adjacent text boxes to have different specified styles. So I believe the former is an intra text box phenomenon, and the latter is an inter one.

Anyways, I don't have a strong opinion, I just think some spec should clarify the meaning of 'run of text' when mixed with `display:contents`. Possibly this will need the 'text box' concept or whatever mechanism used to style text in `display:contents`.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1281#issuecomment-297514219 using your GitHub account
Received on Wednesday, 26 April 2017 19:20:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC