You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>If the <ahref="#cascade">cascade</a> results in a value, use it.
76
-
But if the cascade results in 'inherit', the specified value is as
77
-
explained in <ahref="#value-def-inherit" >“The 'inherit' value.”</a>
76
+
Except that, if the value is 'inherit', the specified value is defined
77
+
in <ahref="#value-def-inherit" >“The 'inherit' value”</a> below.
78
+
78
79
<li>Otherwise, if the property is <ahref="#inheritance">inherited</a> and the element is not the root of the <a>document tree</a>, use the computed value of the parent element.
79
80
<li>Otherwise use the property's <aname="x1"><spanclass="index-def" title="initial value">initial value</span></a>. The initial value of each property is indicated in the property's definition.
<li>If the <a href="#cascade">cascade</a> results in a value, use it.
5830
-
But if the cascade results in 'inherit', the specified value is as
5831
-
explained in <a href="#value-def-inherit" >“The 'inherit' value.”</a>
5830
+
Except that, if the value is 'inherit', the specified value is defined
5831
+
in <a href="#value-def-inherit" >“The 'inherit' value”</a> below.
5832
+
5832
5833
<li>Otherwise, if the property is <a href="#inheritance">inherited</a> and the element is not the root of the <a>document tree</a>, use the computed value of the parent element.
5833
5834
<li>Otherwise use the property's <a name="x1"><span class="index-def" title="initial value">initial value</span></a>. The initial value of each property is indicated in the property's definition.
<P>In <del>this specification,</del><ins>CSS,</ins> the <del>expression collapsing margins means that</del>adjoining margins <del>(no padding or border areas separate them)</del>of two or more boxes (which <del>may be next to one another</del><ins>might</ins> or
363
363
<del>nested)</del><ins>might not be siblings) can</ins> combine to form a single margin. <del>In CSS2, horizontal margins never collapse. Vertical</del>Margins
364
364
<del>may</del><ins>that combine this way are said to</ins><dfn><aname="x26"><span
365
-
class="index-def">collapse</span></a></dfn><del>between certain boxes: Two or more</del><ins>, and the
366
-
resulting combined margin is called a</ins><dfn><aname="x27"><spanclass="index-def"
class="index-def">collapse</span></a></dfn><del>between certain boxes: Two or more adjoining vertical margins of block boxes in the normal flow collapse.</del><ins>, and</ins> the
366
+
resulting <ins>combined</ins> margin <del>width</del>is <del>the maximum of the adjoining</del><ins>called a</ins><dfn><aname="x27"><spanclass="index-def"
367
+
title="collapsing margin"><ins>collapsed</ins> margin</span></a></dfn><del>widths. In the case</del><ins>.</ins>
<LI><ins>Margins</ins> of <del>block boxes in</del>the <del>normal flow</del><ins>root element's box do not</ins> collapse.
372
+
<LI><ins>Margins</ins> of <del>negative margins,</del>the <del>absolute maximum</del><ins>root element's box do not collapse.</ins>
373
373
374
-
<LI><ins>If</ins> the <del>resulting margin width is the maximum</del><ins>top and bottom margins</ins> of <ins>an element with</ins><a
374
+
<LI><ins>If the top and bottom margins</ins> of <ins>an element with</ins><a
375
375
href="visuren.html#clearance"><ins>clearance</ins></a><ins>are adjoining, its
376
-
margins collapse with</ins> the adjoining <del>margin widths. In the case</del><ins>margins</ins> of <del>negative margins,</del><ins>following siblings
377
-
but that resulting margin does not collapse with</ins> the <del>absolute maximum</del><ins>bottom margin</ins>
378
-
of the <del>negative adjoining</del><ins>parent block.</ins>
376
+
margins collapse with</ins> the <del>negative</del>adjoining margins <del>is deducted from</del><ins>of following siblings
377
+
but that resulting margin does not collapse with</ins> the <del>maximum</del><ins>bottom margin</ins>
378
+
of the <del>positive adjoining margins.</del><ins>parent block.</ins>
379
+
380
+
<LI>If <del>there are no positive margins,</del>the <del>absolute maximum</del><ins>top margin</ins> of <del>the negative adjoining margins is deducted from zero. Vertical margins between</del>a <del>floated</del>box <ins>with non-zero computed
381
+
'min-height'</ins> and <del>any other box do</del><ins>'auto' computed 'height' collapses with the
382
+
bottom margin of its last in-flow child, then the child's bottom
383
+
margin does</ins> not <ins>collapse with the parent's bottom margin.</ins>
379
384
</UL>
380
385
381
-
<P><ins>Horizontal</ins> margins <del>is deducted from the maximum of the positive</del><ins>never collapse.</ins>
0 commit comments