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
78
<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.
77
79
<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.
78
80
</ol>
@@ -188,8 +190,8 @@ <h3>6.2.1 The <span class="index-def" title="inherit, definition
188
190
value</h3>
189
191
190
192
<P>Each property may also have a cascaded value of 'inherit', which
191
-
means that, for a given element, the property takes the same specified
192
-
value as the property for the element's parent. The 'inherit' value
193
+
means that, for a given element, the property takes as specified
194
+
value the computed value of the element's parent. The 'inherit' value
193
195
can be used to enforce inheritance of values, and it can also be used on
<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
5832
<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.
5831
5833
<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.
5832
5834
</ol>
@@ -5942,8 +5944,8 @@ <h3>6.2.1 The <span class="index-def" title="inherit, definition
5942
5944
value</h3>
5943
5945
5944
5946
<P>Each property may also have a cascaded value of 'inherit', which
5945
-
means that, for a given element, the property takes the same specified
5946
-
value as the property for the element's parent. The 'inherit' value
5947
+
means that, for a given element, the property takes as specified
5948
+
value the computed value of the element's parent. The 'inherit' value
5947
5949
can be used to enforce inheritance of values, and it can also be used on
<li>Otherwise, if the property is <ahref="#inheritance">inherited</a><ins>and the element is not the root of the</ins><a><ins>document tree</ins></a>, use the <ins>computed</ins> value of the parent <del>element, generally the computed value.</del><ins>element.</ins>
77
79
<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.
78
80
</ol>
@@ -97,10 +99,10 @@ <h3> <del>Since it has no parent, the root of the document tree cannot use value
97
99
<del>described in</del><ins>'inherit'.</ins>
98
100
99
101
<p>The <del>property definition. 6.1.3 Actual values A</del>computed value <del>is in principle ready to be used, but a user agent may</del><ins>exists even when the property does</ins> not <del>be able to make use of</del><ins>apply, as
100
-
defined by the</ins><ahref="about.html#applies-to"><ins>'Applies To'</ins></a><ins>line.
102
+
defined by</ins> the<ahref="about.html#applies-to"><ins>'Applies To'</ins></a><ins>line.
101
103
However, some
102
-
properties may define</ins> the <ins>computed</ins> value <del>in</del><ins>of</ins> a <del>given environment.</del><ins>property</ins> for <del>example, a user agent may only be able</del><ins>an element</ins>
103
-
to <del>render borders with integer pixel widths and may therefore</del><ins>depend on whether the property applies to that element.</ins>
104
+
properties may define the computed</ins> value <del>in</del><ins>of</ins> a <del>given environment.</del><ins>property</ins> for <del>example, a user agent may</del><ins>an element
105
+
to depend on whether the property applies to that element.</ins>
<p><ins>A used value is in principle the value used for rendering, but a
122
124
user agent may not be able to make use of the value in a given
123
-
environment. For example, a user agent may only be able to render
124
-
borders with integer pixel widths and may therefore</ins> have to
125
+
environment. For example, a user agent may</ins> only be able to render
126
+
borders with integer pixel widths and may therefore have to
125
127
approximate the computed <del>width.</del><ins>width, or the user agent may be forced to
126
128
use only black and white shades instead of full color.</ins> The actual
127
129
value is the <del>computed</del><ins>used</ins> value after any approximations have been applied.
@@ -188,15 +190,15 @@ <h3>6.2.1 The <span class="index-def" title="inherit, definition
188
190
value</h3>
189
191
190
192
<P>Each property may also have a <del>specified</del><ins>cascaded</ins> value of 'inherit', which
191
-
means that, for a given element, the property takes the same <del>computed</del><ins>specified</ins>
192
-
valueas the property for the element's parent. The <del>inherited value, which is normally only used as a fallback value,</del><ins>'inherit' value</ins>
193
-
can be<del>strengthened by setting 'inherit' explicitly. Example(s): In</del><ins>used to enforce inheritance of values, and it can also be used on
193
+
means that, for a given element, the property takes <ins>as specified
194
+
value</ins> the <del>same</del>computed value <del>as the property for</del><ins>of</ins> the element's parent. The <del>inherited value, which is normally only</del><ins>'inherit' value
195
+
can be</ins> used <del>as a fallback value,</del><ins>to enforce inheritance of values, and it</ins> can <ins>also</ins> be <del>strengthened by setting</del><ins>used on
194
196
properties that are not normally inherited.</ins>
195
197
196
-
<p><ins>If the 'inherit' value is set on the root element, the property is
198
+
<p><ins>If the</ins> 'inherit' <del>explicitly.</del><ins>value is set on the root element, the property is
197
199
assigned its initial value.</ins>
198
200
199
-
<divclass="example"><Pstyle="display:none"><ins>Example(s):</ins></P><P><ins>In</ins> the example below, the <ahref="colors.html#propdef-color" class="noxref"><span
201
+
<divclass="example"><Pstyle="display:none">Example(s):</P><P>In the example below, the <ahref="colors.html#propdef-color" class="noxref"><span
200
202
class="propinst-color">'color'</span></a> and <ahref="colors.html#propdef-background" class="noxref"><span
201
203
class="propinst-background">'background'</span></a> properties are set on
202
204
the BODY element. On all other elements, the 'color' value will be
<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.
77
79
<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.
78
80
</ol>
@@ -188,8 +190,8 @@ <h3>6.2.1 The <span class="index-def" title="inherit, definition
188
190
value</h3>
189
191
190
192
<P>Each property may also have a cascaded value of 'inherit', which
191
-
means that, for a given element, the property takes the same specified
192
-
value as the property for the element's parent. The 'inherit' value
193
+
means that, for a given element, the property takes <del>the same</del><ins>as</ins> specified
194
+
value <del>as</del>the <del>property for</del><ins>computed value of</ins> the element's parent. The 'inherit' value
193
195
can be used to enforce inheritance of values, and it can also be used on
0 commit comments