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 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT