Skip to content

Commit 4e74192

Browse files
committed
[css2] SGML fix
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401298
1 parent 3731141 commit 4e74192

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

css2/generate.src

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,10 @@ nesting for quotes.
203203
<dt><span class="index-def" title="attr()">attr(X)</span>
204204
<dd>It is also possible to insert the value of an
205205
attribute by using the
206-
'attr()' function, which returns the value of attribute X. If
207-
the current element doesn't have an attribute X, an empty string is
208-
returned.
206+
'attr()' function, which returns the value of attribute X as
207+
a string. The string is not parsed by the CSS processor.
208+
If the current element doesn't have an attribute X, an empty string
209+
is returned.
209210

210211
<P>If two or more attributes named 'X' appear in a selector,
211212
the value of the rightmost attribute is the one inserted
@@ -399,13 +400,13 @@ the level of embedding.
399400
&lt;/HTML&gt;
400401
</PRE>
401402

402-
would allow a user agent to render:</p>
403+
<P>would allow a user agent to render:</p>
403404

404405
<PRE class="asciiart">
405406
"Quote me!"
406407
</PRE>
407408

408-
While this HTML fragment:
409+
<P>While this HTML fragment:</p>
409410

410411
<PRE class="html-example">
411412
&lt;HTML lang="no"&gt;
@@ -415,7 +416,7 @@ While this HTML fragment:
415416
&lt;/HTML&gt;
416417
</PRE>
417418

418-
would produce:
419+
<P>would produce:</p>
419420

420421
<PRE class="ascii-art">
421422
�Siter 'meg'!�

0 commit comments

Comments
 (0)