55 < head > < meta content ="text/html " http-equiv =Content-Type >
66
77 < title > CSS3 module: Cascading and inheritance</ title >
8- <!--
9- <link href="http://www.w3.org/Style/Group/css3-src/css3-template/default.css" rel="stylesheet" type="text/css">
10- -->
8+ < link href ="../default.css " rel =stylesheet type ="text/css ">
119 < link href ="http://www.w3.org/StyleSheets/TR/W3C-ED.css " rel =stylesheet
1210 type ="text/css ">
1311
1412 < style >
1513table { border-collapse : collapse; border : 1px solid black }
1614th , td { border : 1px solid black; padding : 0.2em ; text-align : left }
15+ .issue { color : red }
1716</ style >
1817
1918 < body >
2322
2423 < h1 > CSS3 module: Cascading and inheritance</ h1 >
2524
26- < h2 class ="no-num no-toc " id =longstatus > Editor's Draft 3 January 2009</ h2 >
25+ < h2 class ="no-num no-toc " id =longstatus > Editor's Draft 6 January 2009</ h2 >
2726
2827 < dl >
2928 < dt > This version:
3029
3130 < dd > < a
32- href ="http://www.w3.org/TR/2009/ED-css3-cascade-20090103 "> http://www.w3.org/TR/2009/ED-css3-cascade-20090103 </ a >
31+ href ="http://www.w3.org/TR/2009/ED-css3-cascade-20090106 "> http://www.w3.org/TR/2009/ED-css3-cascade-20090106 </ a >
3332
3433
3534 < dt > Latest version:
@@ -46,7 +45,7 @@ <h2 class="no-num no-toc" id=longstatus>Editor's Draft 3 January 2009</h2>
4645
4746 < dt > Editor:
4847
49- < dd > Håkon Wium Lie, Opera Software, howcome@opera.com
48+ < dd > Håkon Wium Lie, Opera Software, howcome@opera.com
5049 </ dl >
5150 <!--begin-copyright-->
5251 < p class =copyright > < a
@@ -72,11 +71,15 @@ <h2 class="no-num no-toc" id=longstatus>Editor's Draft 3 January 2009</h2>
7271 < h2 class ="no-num no-toc " id =abstract > Abstract</ h2 >
7372
7473 < p > This CSS3 module describes how to find a value for every
75- element/property combination in a document. Values can come from style
76- sheets, or the property's initial value is used . By way of cascading and
74+ element/property combination in a document. Values either come from style
75+ sheets or the property's initial value. By way of cascading and
7776 inheritance, values are propagated to all element/property combinations.
7877 The output of the computations described in this module is the < em > < a
79- href ="#specified "> specified value</ a > </ em > .
78+ href ="#specified "> specified value</ a > </ em > . <!--
79+ The input to the computations described in this module
80+ is a set of style sheets of style sheets
81+ -->
82+
8083
8184 < h2 class ="no-num no-toc " id =status > Status of this document</ h2 >
8285
@@ -93,7 +96,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
9396 module also exist in CSS2. Compared to CSS2, the cascading order has been
9497 changed in two cases as noted in the text.
9598
96- < p > This draft should not be cited except as "work in progress." It is a
99+ < p > This draft should not be cited except as "work in progress". It is a
97100 work item of the CSS working group and part of the < a href ="/Style/ "> Style
98101 activity</ a > . It may be modified or dropped altogether at any point in
99102 time. Implementations for the purpose of experimenting with the
@@ -155,10 +158,9 @@ <h2 id=dependencies><span class=secno>1. </span>Dependencies on other
155158 rel =biblioentry > [SELECT]<!--{{!SELECT}}--> </ a > , which describes < strong
156159 class =index id =specificity > specificity</ strong >
157160
158- < li > Syntax < a href ="#CSS3SYN "
159- rel =biblioentry > [CSS3SYN]<!--{{!CSS3SYN}}--> </ a > , which describes how to
160- parse CSS style sheets into < strong class =index id =declarations
161- title =declaration > declarations</ strong >
161+ < li > Syntax [[!CSS3SYNTAX]], which describes how to parse CSS style sheets
162+ <!-- into <strong title="declaration" class="index">declarations</strong>-->
163+
162164
163165 < li > Media Queries < a href ="#MEDIAQ "
164166 rel =biblioentry > [MEDIAQ]<!--{{!MEDIAQ}}--> </ a > , which describe how to
@@ -230,14 +232,9 @@ <h2 id=input><span class=secno>3. </span>Input and output of this module</h2>
230232 < li > otherwise, the initial value becomes the specified value
231233 </ ol >
232234
233- < p > The specified value may need some computation before it can be used. For
234- example, the specified value of the < span class =property > ‘< code
235- class =property > font-size</ code > ’</ span > property for a given element
236- may be ‘< code class =css > 10em</ code > ’ which needs to be
237- converted into device-specific units before being used to render a
238- document. Computations on specified values are described in the < a
239- href ="/TR/css3-values "> Values and Units</ a > < a href ="#CSS3VAL "
240- rel =biblioentry > [CSS3VAL]<!--{{!CSS3VAL}}--> </ a > module.
235+ < p > The specified value may need some computation before it can be used.
236+ This is described in the values are described in the < a
237+ href ="/TR/css3-values "> Values and Units</ a > [[!CSS3VALUES]] module.
241238
242239 < h2 id =at-import > < span class =secno > 4. </ span > Style sheets including other
243240 style sheets: the < code > @import</ code > rule</ h2 >
@@ -589,8 +586,8 @@ <h2 id=inheritance><span class=secno>7. </span>Inheritance</h2>
589586 < p > All properties accept the ‘< code class =css > inherit</ code > ’
590587 value which explicitly specifies that the value will be determined by
591588 inheritance. The ‘< code class =css > inherit</ code > ’ value can be
592- used to strengthen inherited values, and it can also be used on properties
593- that are not normally inherited. If the ‘< code
589+ used to strengthen inherited values in the cascade , and it can also be
590+ used on properties that are not normally inherited. If the ‘< code
594591 class =css > inherit</ code > ’ value is set on the root element, the
595592 property is assigned its initial value.
596593
@@ -633,9 +630,8 @@ <h2 id=computing><span class=secno>9. </span>Computing weight</h2>
633630 </ ul >
634631
635632 < p > Each CSS declaration can have two levels of importance: normal (which is
636- default) and important (which must be marked). The CSS3 syntax module < a
637- href ="#CSS3SYN " rel =biblioentry > [CSS3SYN]<!--{{!CSS3SYN}}--> </ a > describes
638- how declarations are marked as important.
633+ default) and important (which must be marked). The CSS3 syntax module
634+ [[!CSS3SYNTAX]] describes how declarations are marked as important.
639635
640636 < p > The weight of style sheets from the various origins, in ascending order,
641637 is:
0 commit comments