Skip to content

Commit

Permalink
It's not equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouvedia committed Sep 9, 2013
1 parent 005f865 commit 39962fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions specification.html
Original file line number Diff line number Diff line change
Expand Up @@ -1250,8 +1250,6 @@ <h5><a href="#n1.6.3.1" id="n1.6.3.1">References</a></h5>
<span class="comment">//this sets the width of the children of each parent element
//to the width of whichever is currently the widest child</span>
<span class="property">width</span>: ref(<span class="modifier">max</span> <span class="property">width</span> of <span class="selector">*</span>);
<span class="comment">//which is equivalent to</span>
<span class="property">width</span>: ref(<span class="modifier">max</span> <span class="property">width</span> of <span class="object">@these</span>);
}</pre>
<p>Normally if several elements, which don't share the same value for the referenced property, are matched by the inner selector, the reference, expecting only one value, will return nothing. Setting modifiers or using certain <a href="#n1.3.7">reference objects</a> as the selector permit to bypass this rule.</p>
<pre><span class="selector">parent</span>
Expand Down Expand Up @@ -1443,7 +1441,7 @@ <h4 class="title"><span class="number"><a href="#n1.6.9" id="n1.6.9">1.6.9</a></
<h3 class="title"><span class="number"><a href="#n1.7" id="n1.7">1.7</a></span> Objects</h3>
<p>Objects have a hierarchy, in which objects can descend from others, hence inheriting all the properties defined in their <a href="#n1.3.7.6">owner</a>. This enables great flexibility and modularization of the code.</p>
<p>Objects can be set to be of a certain type, placing an object type immediately after the at sign, or automatically deriving it from the context. It is followed by whitespace, and optionally an object name and more optional whitespace, followed by a block. Inside the block, its properties are defined.</p>
<div class="sub yet">
<div class="sub part">
<h4 class="title"><span class="number"><a href="#n1.7.1" id="n1.7.1">1.7.1</a></span> Object dot notation</h4>
</div>
<div class="sub comp">
Expand Down

0 comments on commit 39962fb

Please sign in to comment.