Skip to content

Commit 08d0809

Browse files
committed
Switch 'illegal-example' to 'illegal example' to match csswg style sheet update
1 parent 0275f96 commit 08d0809

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

css3-syntax/Overview.src.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ <h3 id="keywords">Keywords</h3>
599599

600600
<p>is not. (It is a string.) Other illegal examples:
601601

602-
<div class="illegal-example"><p>
602+
<div class="illegal example"><p>
603603
<pre>
604604
width: "auto";
605605
border: "none";
@@ -630,7 +630,7 @@ <h3><dfn>At-rules</dfn></h3>
630630
at-rule must <span class="index">ignore</span> the whole of the at-rule and continue
631631
parsing after it.</p>
632632

633-
<div class="illegal-example"><p>
633+
<div class="illegal example"><p>
634634
Assume, for example, that a CSS3 parser encounters this style sheet:
635635

636636
<PRE>
@@ -651,7 +651,7 @@ <h3><dfn>At-rules</dfn></h3>
651651
</PRE>
652652
</div>
653653

654-
<div class="illegal-example"><p>
654+
<div class="illegal example"><p>
655655
In the following example, the second '@import' rule is invalid,
656656
since it occurs inside a '@media' <a href="#block">block</a>.
657657

@@ -679,7 +679,7 @@ <h3><dfn>Blocks</dfn></h3>
679679
of a string.
680680

681681

682-
<div class="illegal-example">
682+
<div class="illegal example">
683683
<p> Here is an example of a block. Note that the right brace between
684684
the double quotes does not match the opening brace of the block, and that the
685685
second single quote is an <span title="backslash escapes">escaped
@@ -717,7 +717,7 @@ <h3>Rule sets, declaration blocks, and selectors</h3>
717717
selector, even though the rest of the selector may look reasonable in
718718
CSS3.
719719

720-
<DIV class=illegal-example>
720+
<DIV class=illegal example>
721721
<p>For example, since the "&amp;" is not a valid token in a CSS3
722722
selector, a CSS3 user agent must
723723
<span class="index">ignore</span>
@@ -808,7 +808,7 @@ <h3 id="declarations">Declarations and properties</h3>
808808
name or an invalid value. Every CSS3 property has its own syntactic
809809
and semantic restrictions on the values it accepts.
810810

811-
<div class="illegal-example"><p>
811+
<div class="illegal example"><p>
812812
For example, assume a CSS3 parser encounters this style sheet:
813813

814814
<PRE>
@@ -873,7 +873,7 @@ <h2 id="error-handling">Rules for handling parsing errors or unsupported feature
873873
href="#declarations">declaration</a> with an unknown
874874
property. For example, if the style sheet is:
875875

876-
<PRE class="illegal-example">
876+
<PRE class="illegal example">
877877
h1 { color: red; rotation: 70minutes }
878878
</PRE>
879879

@@ -886,7 +886,7 @@ <h2 id="error-handling">Rules for handling parsing errors or unsupported feature
886886
<LI id="illegalvalues"><strong>Illegal values.</strong> User agents must ignore a
887887
declaration with an illegal value. For example:
888888

889-
<PRE class="illegal-example">
889+
<PRE class="illegal example">
890890
img { float: left } /* correct CSS3 */
891891
img { float: left here } /* "here" is not a value of 'float' */
892892
img { background: "red" } /* keywords cannot be quoted in CSS3 */
@@ -940,7 +940,7 @@ <h2 id="error-handling">Rules for handling parsing errors or unsupported feature
940940
including the next semicolon (;) or block ({...}), whichever
941941
comes first. For example, consider the following:
942942

943-
<PRE class="illegal-example">
943+
<PRE class="illegal example">
944944
@three-dee {
945945
@background-lighting {
946946
azimuth: 30deg;

0 commit comments

Comments
 (0)