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

Re: [csswg-drafts] [css-display] Rethinking display:contents

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Thu, 04 May 2017 08:05:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-299120942-1493885131-sysbot+gh@w3.org>
I'm not sure that introducing a new special kind of the inline box effectively for one particular case is more preferable than introducing a new generic kind of formatting object that could potentially be useful in many other text-related contexts (multidirectional text, stacking of fonts with different metrics etc., including colored fonts like OpenType-SVG, fragmentation of text decorations etc.).

I still oppose the idea of blockifying text contents of the `display:contents` element separately from surrounding text elements. If making these text fragments simultaneously inherit styles from the element tree and combine into one anonymous inline box with their sibling text in the box tree becomes too complicated, changing the inheritance rules might even seem the lesser evil to me. But I don't believe that it is really so complicated since browsers have already implemented the behavior that I prefer.

GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1313#issuecomment-299120942 using your GitHub account
Received on Thursday, 4 May 2017 08:05:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC