Skip to content

Commit 2445fec

Browse files
committed
[css2] Attempt to fix changebar example. Please review prose and image
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401520
1 parent 08b9ed9 commit 2445fec

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

css2/images/changebar.idraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Begin %I Text
526526
%I f *-helvetica-medium-r-*-140-*
527527
Helvetica 14 SetF
528528
%I t
529-
[ 1 0 0 1 177 489.507 ] concat
529+
[ 1 0 0 1 192 489.507 ] concat
530530
%I
531531
[
532532
(--)

css2/visuren.src

Lines changed: 12 additions & 9 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: visuren.src,v 2.49 1998-04-17 19:07:20 ijacobs Exp $ -->
3+
<!-- $Id: visuren.src,v 2.50 1998-04-22 22:00:01 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual rendering model</TITLE>
@@ -1584,7 +1584,7 @@ bars, as shown in the following example. The following document:
15841584
&lt;P style=&quot;position: relative; margin-right: 10px; left: 10px;&quot;&gt;
15851585
I used two red hyphens to serve as a change bar. They
15861586
will &quot;float&quot; to the left of the line containing THIS
1587-
&lt;SPAN style=&quot;position: absolute; top: auto; left: 0px; color: red;&quot;&gt;--&lt;/SPAN&gt;
1587+
&lt;SPAN style=&quot;position: absolute; top: auto; left: -2em; color: red;&quot;&gt;--&lt;/SPAN&gt;
15881588
word.&lt;/P&gt;
15891589
</pre>
15901590

@@ -1596,17 +1596,20 @@ word.&lt;/P&gt;
15961596
</div>
15971597

15981598
<P>First, the paragraph (whose containing block sides are shown in the
1599-
illustration) is flowed normally. The two hyphens acting as change
1600-
bars are taken out of the flow and positioned at the current line (due
1601-
to 'top: auto'), '0px' from the left edge of the containing
1602-
block. After the paragraph has been flowed, it is offset '10px' from
1603-
the left edge of the containing block (thus, a right margin of '10px'
1604-
has been reserved in anticipation of the offset). The result is that
1605-
the change bars seem to "float" to the left of the current line.</p>
1599+
illustration) is flowed normally. Then it is offset '10px' from the
1600+
left edge of the containing block (thus, a right margin of '10px' has
1601+
been reserved in anticipation of the offset). The two hyphens acting
1602+
as change bars are taken out of the flow and positioned at the current
1603+
line (due to 'top: auto'), '-2em' from the left edge of its containing
1604+
block (established by the P in its final position). The result is
1605+
that the change bars seem to "float" to the left of the current
1606+
line.</p>
16061607
</div>
16071608

16081609
<!-- How do you put the hyphens in the RIGHT margin? BB -->
16091610

1611+
<!-- Could you say 'right: -2em'? -IJ -->
1612+
16101613
<H2>Layered presentation</H2>
16111614
<P><em>In the following sections, the expression "in front of"
16121615
means closer to the user as the user faces the screen.</em></P>

0 commit comments

Comments
 (0)