- From: ojan <notifications@github.com>
- Date: Thu, 17 Dec 2015 15:01:38 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 17 December 2015 23:02:24 UTC
contain:style paint; might make sense for shadows as a default, but I think contain:layout is probably too restrictive as it requires you to have a definite height/width, i.e. you can't size to your children. contain:paint is pretty restrictive, but it might be OK. It would mean that a position:absolute or position:fixed inside that container would be clipped by the container. I'm not sure how much extra optimization we could do there without contain:layout though. We could in theory split contain:layout into two pieces. One that requires definite dimensions and another that gets the other properties (e.g. formatting context). That could be a compelling default. Then, any shadow that the author put a definite width/height on could magically get all the contain:strict benefits without the author needing to know to opt-in to contain:strict. @tabatkins @esprehn @leviw --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/355#issuecomment-165609588
Received on Thursday, 17 December 2015 23:02:24 UTC