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

Re: [csswg-drafts] [css-contain] Clarify style containment effect 1

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Nov 2017 00:28:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-342334343-1510014487-sysbot+gh@w3.org>
The Working Group just discussed `clarify style containment`.

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> topic: clarify style containment<br>
&lt;fantasai> Github: https://github.com/w3c/csswg-drafts/issues/1872<br>
&lt;fantasai> TabAtkins: question is, why does style containment restrict break properties?<br>
&lt;fantasai> TabAtkins: Reason why I have these things set is I want to ignore a style tree for style computation purposes<br>
&lt;fantasai> TabAtkins: Should be able to completely ignore that subtree<br>
&lt;fantasai> TabAtkins: break property if allowed to work would violate that<br>
&lt;fantasai> TabAtkins: break properties propagate up<br>
&lt;fantasai> fantasai: They don't affect computation tho<br>
&lt;fantasai> TabAtkins: but they affect layout further up the tree<br>
&lt;fantasai> fantasai: break-inside doesn't propagate up, only forced breaks do<br>
&lt;fantasai> fantasai: Also sounds pretty bad in terms of fragmentation if you can't honor 'break-before: avoid'<br>
&lt;fantasai> TabAtkins: Avoiding breaks should work, yeah...<br>
&lt;fantasai> fantasai: ...<br>
&lt;fantasai> florian: Since contain property is ahead of css-content, should put the bookmark-* / string-set prose into the css-content spec<br>
&lt;fantasai> dbaron: I'm trying to understnand model of possible optimizations here<br>
&lt;fantasai> dbaron: I don't see anything for which this is relevant<br>
&lt;fantasai> dbaron: Still doesn't feel like style containment tome<br>
&lt;fantasai> fantasai: Also if disallowing break-*, then why not margin-*?<br>
&lt;fantasai> dbaron: It seems like you're trying to introduce soemething but not really worked out what<br>
&lt;fantasai> dbaron: Maybe write out what that optimization is to make that clear<br>
&lt;fantasai> dbaron: and discuss others<br>
&lt;fantasai> fantasai: also pretty sure if break-* needs to be disallowed the margin-* collapsing should also... but that sounds more like layout containment<br>

GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1872#issuecomment-342334343 using your GitHub account
Received on Tuesday, 7 November 2017 00:28:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 7 November 2017 00:28:12 UTC