@@ -129,23 +129,33 @@ <h2>Input and output of this module</h2>
129129
130130< p > The output of the computations described in this module is a
131131specified value for all properties on all elements and page/margin
132- boxes. The specified value is found by first forming an ordered list
133- with all rules that apply to the document:
132+ boxes.
133+
134+ < p > In order to find the specified values, implementations must first
135+ identify which statements that apply to the document. This is done by:
134136
135137< ol >
136138
137- < li > Media Queries [[!MEDIAQ]] are used to remove statements with media
138- queries that are false in the given context.
139+ < li > Starting out with all author style sheets specified in the
140+ document, as well all user and UA style sheets.
141+
142+ < li > Removing statements that have associated Media Queries [[!MEDIAQ]]
143+ that are false in the given context.
144+
145+ < li > Removing @import statements that do not match the title of the
146+ preferred style sheet, if any. This is described
147+ in < a href ="#import "> Importing style sheets</ a > below.
139148
140- < li > From the remaining @import statements, those that do not match the
141- title of the preferred style sheet ( if any) are removed ( described
142- in < a href ="#import "> Importing style sheets </ a > below)
149+ < li > Removing @media statements that do not match the title of the
150+ preferred style sheet, if any. This is described
151+ in < a href ="#import "> Named @media rules </ a > below.
143152
144- < li > All remaining @import rules are expanded .
153+ < li > Expanding all remaining @import rules.
145154
146155</ ol >
147156
148- < p > Then, for every element and every page/margin box, the value for each property can be found by following this pseudo-algorith:
157+ < p > Then, for every element and every page/margin box, the value for
158+ each property can be found by following this pseudo-algorithm:
149159
150160< ol >
151161
@@ -156,16 +166,16 @@ <h2>Input and output of this module</h2>
156166or ''inherit'', the value of the winning declaration becomes the
157167specified value.
158168
159- < li > otherwise , if the value of the winning declaration is ''inherit'',
160- the inherited value (see below) becomes the specified value
169+ < li > Otherwise , if the value of the winning declaration is ''inherit'',
170+ the inherited value (see below) becomes the specified value.
161171
162- < li > otherwise , if the value of the winning declaration is ''initial'',
163- the initial value (see below) becomes the specified value
172+ < li > Otherwise , if the value of the winning declaration is ''initial'',
173+ the initial value (see below) becomes the specified value.
164174
165- < li > otherwise , if the property is inherited, the inherited value
166- becomes the specified value
175+ < li > Otherwise , if the property is inherited, the inherited value
176+ becomes the specified value.
167177
168- < li > otherwise , the initial value becomes the specified value
178+ < li > Otherwise , the initial value becomes the specified value.
169179
170180</ ol >
171181
@@ -339,7 +349,7 @@ <h2 id="at-import">Importing style sheets</h2>
339349a keyword or some punctuation? E.g., '@import url(foo.css) as
340350"Boxed"'.
341351
342- < h2 id ="at-media-rule "> Rules for specific media: the < code > @media</ code > rule </ h2 >
352+ < h2 id ="at-media-rule "> Named < code > @media</ code > rules </ h2 >
343353
344354< p > An < dfn > @media</ dfn > rule specifies the target media types
345355(separated by commas) of a set of rules (delimited by curly braces).
0 commit comments