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

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