Skip to content

Commit b83957b

Browse files
committed
Add explicit rules for determining resolved values of {left,right,top,bottom}.
1 parent 75303b3 commit b83957b

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

cssom/Overview.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,6 +2273,16 @@ <h2 id="resolved-values"><span class="secno">8 </span>Resolved Values</h2>
22732273
<span>used value</span>. Otherwise the <a href="#resolved-value">resolved value</a> is the
22742274
computed value.</dd>
22752275

2276+
<dt>'<code>bottom</code>'</dt>
2277+
<dt>'<code>left</code>'</dt>
2278+
<dt>'<code>right</code>'</dt>
2279+
<dt>'<code>top</code>'</dt>
2280+
<dd><p>If the property applies to a positioned element and the
2281+
<a href="#resolved-value">resolved value</a> of the '<code>display</code>' property is not
2282+
<code>none</code>, the <a href="#resolved-value">resolved value</a> is the
2283+
<span>used value</span>. Otherwise the <a href="#resolved-value">resolved value</a> is the
2284+
computed value.</dd>
2285+
22762286
<dt>Any other property</dt>
22772287
<dd><p>The <a href="#resolved-value">resolved value</a> is the computed value.</dd>
22782288
</dl>

cssom/Overview.src.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,6 +2205,16 @@ <h2>Resolved Values</h2>
22052205
<span>used value</span>. Otherwise the <span>resolved value</span> is the
22062206
computed value.</p></dd>
22072207

2208+
<dt>'<code>bottom</code>'</dt>
2209+
<dt>'<code>left</code>'</dt>
2210+
<dt>'<code>right</code>'</dt>
2211+
<dt>'<code>top</code>'</dt>
2212+
<dd><p>If the property applies to a positioned element and the
2213+
<span>resolved value</span> of the '<code>display</code>' property is not
2214+
<code>none</code>, the <span>resolved value</span> is the
2215+
<span>used value</span>. Otherwise the <span>resolved value</span> is the
2216+
computed value.</p></dd>
2217+
22082218
<dt>Any other property</dt>
22092219
<dd><p>The <span>resolved value</span> is the computed value.</p></dd>
22102220
</dl>

cssom/cssom-source

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,16 @@
18531853
<span>used value</span>. Otherwise the <span>resolved value</span> is the
18541854
computed value.</p></dd>
18551855

1856+
<dt>'<code>bottom</code>'</dt>
1857+
<dt>'<code>left</code>'</dt>
1858+
<dt>'<code>right</code>'</dt>
1859+
<dt>'<code>top</code>'</dt>
1860+
<dd><p>If the property applies to a positioned element and the
1861+
<span>resolved value</span> of the '<code>display</code>' property is not
1862+
<code>none</code>, the <span>resolved value</span> is the
1863+
<span>used value</span>. Otherwise the <span>resolved value</span> is the
1864+
computed value.</p></dd>
1865+
18561866
<dt>Any other property</dt>
18571867
<dd><p>The <span>resolved value</span> is the computed value.</p></dd>
18581868
</dl>

0 commit comments

Comments
 (0)