1717
1818 < h1 > CSS Conditional Rules Module Level 3</ h1 >
1919
20- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 4 June 2011</ h2 >
20+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 5 June 2011</ h2 >
2121
2222 < dl >
2323 < dt > This version:
2424
25- < dd > < a href ="http://www.w3.org/TR/2011/ED-css3-conditional-20110604 / ">
26- http://www.w3.org/TR/2011/ED-css3-conditional-20110604 </ a >
25+ < dd > < a href ="http://www.w3.org/TR/2011/ED-css3-conditional-20110605 / ">
26+ http://www.w3.org/TR/2011/ED-css3-conditional-20110605 </ a >
2727
2828 < dt > Latest version:
2929
@@ -224,7 +224,7 @@ <h3 id=context><span class=secno>1.1. </span>Background</h3>
224224 < code > @media</ code > rule provides the ability to have media-specific style
225225 sheets, which is also provided by style sheet linking features such as
226226 < code > @import</ code > and < code > <link></ code > . The restrictions on
227- the contents of < code > @media</ code > rules made them less useful; they
227+ the contents of < code > @media</ code > rules made them less useful; they have
228228 forced authors using CSS features involving @-rules in media-specific
229229 style sheets to use separate style sheets for each medium.
230230
@@ -245,7 +245,7 @@ <h3 id=context><span class=secno>1.1. </span>Background</h3>
245245 mechanisms, and for other cases where a set of related styles needs to be
246246 conditioned on property support.
247247
248- < p > The < code > @document</ code > rule allows CSS to be condition on the page
248+ < p > The < code > @document</ code > rule allows CSS to be conditioned on the page
249249 to which the style sheet is being applied. This allows users to apply
250250 styles to a particular page or group of pages, which greatly increases the
251251 power of user style sheets.
@@ -273,10 +273,8 @@ <h3 id=conventions><span class=secno>1.3. </span>Document Conventions</h3>
273273 NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”,
274274 “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in the
275275 normative parts of this document are to be interpreted as described in RFC
276- 2119.
277- <!--However, for readability, these words do not appear in all uppercase
278- letters in this specification.-->
279-
276+ 2119. However, for readability, these words do not appear in all uppercase
277+ letters in this specification.
280278
281279 < p > All of the text of this specification is normative except sections
282280 explicitly marked as non-normative, examples, and notes. < a
@@ -326,12 +324,13 @@ <h2 id=processing><span class=secno>2. </span>Processing of conditional
326324 </ div >
327325
328326 < p > Each conditional group rule has a condition, which at any time evaluates
329- to true or false. When the condition is true, CSS processors MUST apply
330- the rules inside the group rule as though they were at the group rule's
331- location; when the condition is false, CSS processors MUST not apply any
332- of rules inside the group rule. The current state of the condition does
333- not affect the CSS object model, in which the contents of the group rule
334- always remain within the group rule.
327+ to true or false. When the condition is true, CSS processors
328+ < strong > must</ strong > apply the rules inside the group rule as though they
329+ were at the group rule's location; when the condition is false, CSS
330+ processors < strong > must</ strong > not apply any of rules inside the group
331+ rule. The current state of the condition does not affect the CSS object
332+ model, in which the contents of the group rule always remain within the
333+ group rule.
335334
336335 < p > This means that when multiple conditional group rules are nested, a rule
337336 inside of both of them applies only when all of the rules' conditions are
@@ -354,10 +353,10 @@ <h2 id=processing><span class=secno>2. </span>Processing of conditional
354353 or equal to 12 centimeters.</ div >
355354
356355 < p > When the condition for a conditional group rule changes, CSS processors
357- MUST reflect that the rules now apply or no longer apply, except for
358- properties whose definitions define effects of computed values that
359- persist past the lifetime of that value (such as for some properties in < a
360- href ="#CSS3-TRANSITIONS "
356+ < strong > must </ strong > reflect that the rules now apply or no longer apply,
357+ except for properties whose definitions define effects of computed values
358+ that persist past the lifetime of that value (such as for some properties
359+ in < a href ="#CSS3-TRANSITIONS "
361360 rel =biblioentry > [CSS3-TRANSITIONS]<!--{{CSS3-TRANSITIONS}}--> </ a > and < a
362361 href ="#CSS3-ANIMATIONS "
363362 rel =biblioentry > [CSS3-ANIMATIONS]<!--{{!CSS3-ANIMATIONS}}--> </ a > ).
@@ -408,13 +407,13 @@ <h2 id=contents><span class=secno>3. </span>Contents of conditional group
408407 forbidden to occur after some other types of rules should modify this
409408 < code > nested_statement</ code > production to keep the grammar accurate.
410409
411- < p > Style sheets MUST NOT use rules other than the allowed ones inside
412- conditional group rules.
410+ < p > Style sheets < strong > must not </ strong > use rules other than the allowed
411+ ones inside conditional group rules.
413412
414413 < h3 id =group-error > < span class =secno > 3.1. </ span > Error handling</ h3 >
415414
416- < p > Implementations MUST ignore rules that are not allowed within a group
417- rule.
415+ < p > Implementations < strong > must </ strong > ignore rules that are not allowed
416+ within a group rule.
418417
419418 < p class =issue > Define error handling rules for unknown things.
420419
@@ -437,7 +436,7 @@ <h2 id=at-media><span class=secno>4. </span>Media-specific style sheets:
437436
438437 < p > has the condition < code > print, (max-width: 600px)</ code > , which is true
439438 for print media and for devices whose width is at most 600px. When either
440- of this is true, the condition of the rule is true, and the rule
439+ of these is true, the condition of the rule is true, and the rule
441440 < code > #extra_navigation { display: none }</ code > is applied.
442441 </ div >
443442
@@ -709,10 +708,10 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
709708 iframe/object/embed/img; it should probably not apply to the URL of an
710709 svg:use.
711710
712- < p > Implementations MUST treat any unknown URL matching functions as a
713- syntax error, and thus ignore the < code > @document</ code > rule. < span
714- class =issue > Should we instead have more complicated error handling
715- rules?</ span >
711+ < p > Implementations < strong > must </ strong > treat any unknown URL matching
712+ functions as a syntax error, and thus ignore the < code > @document</ code >
713+ rule. < span class =issue > Should we instead have more complicated error
714+ handling rules?</ span >
716715
717716 < p > This extends the lexical scanner in the < a
718717 href ="http://www.w3.org/TR/CSS21/grammar.html "> Grammar of CSS 2.1</ a > (< a
0 commit comments