@@ -1012,10 +1012,10 @@ <h4 class="title"><span class="number"><a href="#n1.5.6" id="n1.5.6">1.5.6</a></
1012
1012
< span class ="selector "> *</ span > :(< span class ="property "> background</ span > ) { }
1013
1013
< span class ="comment "> //which is equivalent to</ span >
1014
1014
< span class ="selector "> *</ span > :(< span class ="property "> background</ span > != no) { }
1015
- < span class ="comment "> //similarly, this matches invisible elements</ span >
1016
- < span class ="selector "> *</ span > :(< span class ="modifier "> !</ span > < span class ="property "> visible </ span > ) { }
1015
+ < span class ="comment "> //similarly, this matches elements which were taken out of the flow </ span >
1016
+ < span class ="selector "> *</ span > :(< span class ="modifier "> !</ span > < span class ="property "> flow </ span > ) { }
1017
1017
< span class ="comment "> //which is equivalent to</ span >
1018
- < span class ="selector "> *</ span > :(< span class ="property "> visible </ span > = no) { }
1018
+ < span class ="selector "> *</ span > :(< span class ="property "> flow </ span > = no) { }
1019
1019
< span class ="comment "> //matches all elements which are using a font object named < em > serif</ em > </ span >
1020
1020
< span class ="selector "> *</ span > :(< span class ="property "> font</ span > = serif) { }
1021
1021
< span class ="comment "> //matches all elements that are taller than 300 and not wider than 400</ span >
@@ -1231,9 +1231,9 @@ <h5><a href="#n1.6.3.2" id="n1.6.3.2">The attribute function</a></h5>
1231
1231
{
1232
1232
< span class ="comment "> //this would replace the content text of the element
1233
1233
//by the value of its href attribute</ span >
1234
- < span class ="property "> content </ span > : attr(href of < span class =" object " > @this </ span > );
1234
+ < span class ="property "> text </ span > : attr(href);
1235
1235
< span class ="comment "> //which is equivalent to</ span >
1236
- < span class ="property "> content </ span > : attr(href);
1236
+ < span class ="property "> text.value </ span > : attr(href of < span class =" object " > @this </ span > );
1237
1237
}</ pre >
1238
1238
< h5 > < a href ="#n1.6.3.3 " id ="n1.6.3.3 "> The selector function</ a > </ h5 >
1239
1239
< p > The syntax is < code > sel(< span class ="selector "> selector</ span > )</ code > and can be used anywhere elements are accepted.</ p >
0 commit comments