- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Mon, 28 Mar 2011 15:36:27 +0200
- To: "www-style@w3.org list" <www-style@w3.org>
Arno Gourdol: > http://dev.w3.org/csswg/css3-regions/ It seems you made quite some improvements. I still prefer at-rules for slots, for instance your (currently) fifth example body::slot(element1) { content: "box one" } body::slot(element2) { content: "box two" } body::slot(element3) { content: "box three"} %element1, %element2, %element3 { float: left; width: 100px; height: 100px; } should become @slot "element1" { content: "box one" } @slot "element2" { content: "box two" } @slot "element3" { content: "box three"} @slot "element1", "element2", "element3" {/* or: @slot "element1", @slot "element2", @slot "element3" {*/ float: left; width: 100px; height: 100px; } body::after {content: slot(element1) slot(element2) slot(element3);} which both render <body> <p>First paragraph</p> </body> as something like First paragraph box one box two box three |---100px---|---100px---|---100px---|
Received on Monday, 28 March 2011 13:37:02 UTC