@@ -925,7 +925,8 @@ <h4 id="typenmsp">
925925 < div class ="example ">
926926 < p > CSS examples:</ p >
927927
928- < pre > @namespace foo url(http://www.example.com);
928+ < pre >
929+ @namespace foo url(http://www.example.com);
929930 foo|h1 { color: blue } /* first rule */
930931 foo|* { color: yellow } /* second rule */
931932 |h1 { color: red } /* ...*/
@@ -1193,7 +1194,8 @@ <h3 id="attrnmsp">
11931194
11941195 < div class ="example ">
11951196 < p > CSS examples:</ p >
1196- < pre > @namespace foo "http://www.example.com";
1197+ < pre >
1198+ @namespace foo "http://www.example.com";
11971199 [foo|att=val] { color: blue }
11981200 [*|att] { color: yellow }
11991201 [|att] { color: green }
@@ -1301,7 +1303,8 @@ <h3 id="class-html">
13011303 < p > Given these rules, the first < code > H1</ code > instance below would not have
13021304 green text, while the second would:</ p >
13031305
1304- < pre > <H1>Not green</H1>
1306+ < pre >
1307+ <H1>Not green</H1>
13051308 <H1 class="pastoral">Very green</H1></ pre >
13061309
13071310 < p > The following rule matches any < code > P</ code > element whose < code > class</ code >
@@ -1538,7 +1541,8 @@ <h3 id="target-pseudo">
15381541 < p > CSS example:</ p >
15391542 < p > Here, the < code > :target</ code > pseudo-class is used to make the
15401543 target element red and place an image before it, if there is one:</ p >
1541- < pre > *:target { color : red }
1544+ < pre >
1545+ *:target { color : red }
15421546 *:target::before { content : url(target.png) }</ pre >
15431547 </ div >
15441548
@@ -1812,7 +1816,8 @@ <h3 id="lang-pseudo">
18121816 the BODY and the P match < code > :lang(fr)</ code > (because both are in
18131817 French). The P does not match the < code > [lang|=fr]</ code > because it
18141818 does not have a LANG attribute.</ p >
1815- < pre > <body lang=fr>
1819+ < pre >
1820+ <body lang=fr>
18161821 <p> Je suis français.</p>
18171822 </body> </ pre >
18181823 </ div >
@@ -2034,7 +2039,8 @@ <h3 id="nth-child-pseudo">
20342039
20352040 < div class ="example ">
20362041 < p > Examples:</ p >
2037- < pre > :nth-child(10n-1) /* represents the 9th, 19th, 29th, etc, element */
2042+ < pre >
2043+ :nth-child(10n-1) /* represents the 9th, 19th, 29th, etc, element */
20382044 :nth-child(10n+9) /* Same */
20392045 :nth-child(10n+-1) /* Syntactically invalid, and would be ignored */</ pre >
20402046 </ div >
@@ -2218,18 +2224,21 @@ <h3 id="first-child-pseudo">
22182224 < pre > div > p:first-child</ pre >
22192225 < p > This selector can represent the < code > p</ code > inside the
22202226 < code > div</ code > of the following fragment:</ p >
2221- < pre > <p> The last P before the note.</p>
2227+ < pre >
2228+ <p> The last P before the note.</p>
22222229 <div class="note">
22232230 <p> The first P inside the note.</p>
22242231 </div></ pre > but cannot represent the second < code > p</ code > in the following
22252232 fragment:
2226- < pre > <p> The last P before the note.</p>
2233+ < pre >
2234+ <p> The last P before the note.</p>
22272235 <div class="note">
22282236 <h2> Note </h2>
22292237 <p> The first P inside the note.</p>
22302238 </div></ pre >
22312239 < p > The following two selectors are usually equivalent:</ p >
2232- < pre > * > a:first-child /* a is first child of any element */
2240+ < pre >
2241+ * > a:first-child /* a is first child of any element */
22332242 a:first-child /* Same (assuming a is not the root element) */</ pre >
22342243 </ div >
22352244
@@ -2262,7 +2271,8 @@ <h3 id="first-of-type-pseudo">
22622271 < pre > dl dt:first-of-type</ pre >
22632272 < p > It is a valid description for the first two < code > dt</ code >
22642273 elements in the following example but not for the third one:</ p >
2265- < pre > <dl>
2274+ < pre >
2275+ <dl>
22662276 <dt>gigogne</dt>
22672277 <dd>
22682278 <dl>
@@ -2353,7 +2363,8 @@ <h3 id="descendant-combinators">
23532363 < p > It represents an < code > em</ code > element being the descendant of
23542364 an < code > h1</ code > element. It is a correct and valid, but partial,
23552365 description of the following fragment:</ p >
2356- < pre > <h1>This <span class="myclass">headline
2366+ < pre >
2367+ <h1>This <span class="myclass">headline
23572368 is <em>very</em> important</span></h1></ pre >
23582369 < p > The following selector:</ p >
23592370 < pre > div * p</ pre >
@@ -2438,7 +2449,8 @@ <h3 id="general-sibling-combinators">
24382449 < pre > h1 ~ pre</ pre >
24392450 < p > represents a < code > pre</ code > element following an < code > h1</ code > . It
24402451 is a correct and valid, but partial, description of:</ p >
2441- < pre > <h1>Definition of the function a</h1>
2452+ < pre >
2453+ <h1>Definition of the function a</h1>
24422454 <p>Function a(x) has to be applied to all figures in the table.</p>
24432455 <pre>function a(x) = 12x/13.5</pre></ pre >
24442456 </ div >
@@ -2580,7 +2592,8 @@ <h2 id="specificity">
25802592
25812593 < div class ="example ">
25822594 < p > Examples:</ p >
2583- < pre > * /* a=0 b=0 c=0 -> specificity = 0 */
2595+ < pre >
2596+ * /* a=0 b=0 c=0 -> specificity = 0 */
25842597 LI /* a=0 b=0 c=1 -> specificity = 1 */
25852598 UL LI /* a=0 b=0 c=2 -> specificity = 2 */
25862599 UL OL+LI /* a=0 b=0 c=3 -> specificity = 3 */
@@ -2713,7 +2726,8 @@ <h3 id="lex">
27132726 should be read as "\4177777" (decimal 1114111), which is the highest
27142727 possible code point in Unicode/ISO-10646. [[!UNICODE]]</ p >
27152728
2716- < pre > %option case-insensitive
2729+ < pre >
2730+ %option case-insensitive
27172731
27182732 ident [-]?{nmstart}{nmchar}*
27192733 name {nmchar}+
0 commit comments