Skip to content

Commit 1021434

Browse files
committed
[css2] Added explanation of \A to define <BR>
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40863
1 parent 843c93a commit 1021434

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

css2/text.src

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: text.src,v 2.1 1998-02-10 00:55:31 ijacobs Exp $ -->
3+
<!-- $Id: text.src,v 2.2 1998-02-11 10:42:39 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Text</TITLE>
@@ -447,12 +447,20 @@ style sheet.
447447
<H2>Text in HTML</H2>
448448
<H3>Forcing a line break</H3>
449449

450-
<!-- Is this still true? -IJ -->
451-
<P> The current CSS2 properties and values cannot describe the
452-
behavior of the BR element; the BR element specifies a line break
453-
between words. In effect, the element is replaced by a line
454-
break. Future versions of CSS may handle added and replaced content,
455-
but CSS2-based formatters must treat BR specially.
450+
<p>HTML has a &lt;BR&gt; element that forces a line break. In CSS2, an
451+
explicit line break can be created with the <a href=
452+
"generate.html#before-after-content">`:before' or `:after'</a>
453+
pseudo-elements. The default rule for the BR element of HTML is as
454+
follows:
455+
456+
<pre class="example">
457+
BR:before {content: "\A"}
458+
</pre>
459+
460+
<p>See <a href="generate.html">"Generated content and automatic
461+
numbering"</a> for explanations of the <span class=
462+
"propinst-content">`content'</span> property and the use of the
463+
"\A" escape sequence.
456464

457465
</BODY>
458466
</HTML>

0 commit comments

Comments
 (0)