Skip to content

Commit 233cc4b

Browse files
committed
[css2] Removed <del>/<ins> tags. Added that baseline of inline-block "should"
be the baseline of the last line. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402104
1 parent 8a05712 commit 233cc4b

1 file changed

Lines changed: 26 additions & 59 deletions

File tree

css2/visudet.src

Lines changed: 26 additions & 59 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: visudet.src,v 2.67 2003-06-09 16:51:07 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.68 2003-06-09 18:24:47 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual formatting model details</TITLE>
@@ -220,10 +220,9 @@ distinguished:</p>
220220
<li>'inline-block', replaced elements in normal flow
221221
</ol>
222222

223-
<P><del>Points 1-6 and 9-10 include relative positioning.</del>
224-
<ins>For Points 1-6 and 9-10, the computed values of 'left' and
223+
<P>For Points 1-6 and 9-10, the computed values of 'left' and
225224
'right' are determined by the rules in <a
226-
href="visuren.html#relative-positioning">section 9.4.3.</a></ins>
225+
href="visuren.html#relative-positioning">section 9.4.3.</a>
227226

228227
<h3>Inline, non-replaced elements</h3>
229228

@@ -237,9 +236,7 @@ value of '0'.
237236

238237
<h3><a name="inline-replaced-width">Inline, replaced elements</a></h3>
239238

240-
<p>A specified value of 'auto' for <del><span
241-
class="propinst-left">'left'</span>, <span
242-
class="propinst-right">'right'</span>,</del> <span
239+
<p>A specified value of 'auto' for <span
243240
class="propinst-margin-left">'margin-left'</span> or <span
244241
class="propinst-margin-right">'margin-right'</span> becomes a computed
245242
value of '0'. If <span class="propinst-width">'width'</span> has a
@@ -260,9 +257,7 @@ class="propinst-width">'width'</span> is:
260257

261258
<h3>Block-level, non-replaced elements in normal flow</h3>
262259

263-
<p><del>If <span class="propinst-left">'left'</span> or <span
264-
class="propinst-right">'right'</span> are given as 'auto', their
265-
computed value is 0.</del> The following <a
260+
<p>The following <a
266261
name="width-constraints">constraints</a> must hold between the
267262
computed values of the other
268263
properties:</p>
@@ -302,9 +297,7 @@ to the edges of the containing block.
302297

303298
<h3>Block-level, replaced elements in normal flow</h3>
304299

305-
<p><del>If <span class="propinst-left">'left'</span> or <span
306-
class="propinst-right">'right'</span> are 'auto', their computed value
307-
is 0.</del> The computed value of
300+
<p>The computed value of
308301
<span class="propinst-width">'width'</span> is determined
309302
as for <a href="#inline-replaced-width">inline replaced
310303
elements</a>.
@@ -314,8 +307,7 @@ both margins are 'auto', their computed values are equal.
314307

315308
<h3>Floating, non-replaced elements</h3>
316309

317-
<p>If <del><span class="propinst-left">'left'</span>, <span
318-
class="propinst-right">'right'</span>,</del> <span
310+
<p>If <span
319311
class="propinst-margin-left">'margin-left'</span>, or <span
320312
class="propinst-margin-right">'margin-right'</span> are specified as
321313
'auto', their computed value is '0'.
@@ -331,19 +323,16 @@ where explicit line breaks occur, and also calculate the preferred
331323
<em>minimum</em> width, e.g., by trying all possible line breaks.
332324
CSS&nbsp;2.1 does not define the exact algorithm. Thirdly, compute the
333325
<em>available width</em>: in this case, this is the width of the
334-
containing block minus <del><span class="propinst-left">'left'</span>,
335-
<span class="propinst-right">'right'</span>,</del> <span
326+
containing block minus <span
336327
class="propinst-margin-left">'margin-left'</span> and <span
337-
class="propinst-margin-right">'margin-right'</span>. <del>(Omit 'left' and
338-
'right' if they do not apply to this element.)</del>
328+
class="propinst-margin-right">'margin-right'</span>.
339329

340330
<p>Then the shrink-to-fit width is: min(max(preferred minimum width,
341331
available width), preferred width).</p>
342332

343333
<h3>Floating, replaced elements</h3>
344334

345-
<p>If <del><span class="propinst-left">'left'</span>, <span
346-
class="propinst-right">'right'</span>,</del> <span
335+
<p>If <span
347336
class="propinst-margin-left">'margin-left'</span> or <span
348337
class="propinst-margin-right">'margin-right'</span> are specified as
349338
'auto', their computed value is '0'.
@@ -492,9 +481,7 @@ that value.
492481
computed value is the <a href="#shrink-to-fit-float">shrink-to-fit</a>
493482
width as for floating elements.
494483

495-
<p>A specified value of 'auto' for <del><span
496-
class="propinst-left">'left'</span>, <span
497-
class="propinst-right">'right'</span>,</del> <span
484+
<p>A specified value of 'auto' for <span
498485
class="propinst-margin-left">'margin-left'</span> or <span
499486
class="propinst-margin-right">'margin-right'</span> becomes a computed
500487
value of '0'.
@@ -597,17 +584,6 @@ margins"</a> above, as if <span class="propinst-width">'width'</span>
597584
were specified as this value.
598585
</ol>
599586

600-
601-
<del>
602-
<!-- http://lists.w3.org/Archives/Member/w3c-css-wg/2003JanMar/0267.html -->
603-
<P>The user agent may define a non-negative minimum value for the
604-
<span class="propinst-min-width">'min-width'</span> property, which
605-
may vary from element to element and even depend on other
606-
properties. If <span class="propinst-min-width">'min-width'</span>
607-
goes below this limit, either because it was set explicitly, or
608-
because it was 'auto' and the rules below would make it too small, the
609-
user agent may use the minimum value as the computed value.</p></del>
610-
611587
<h2><a name="the-height-property">Content height</a>: the <span
612588
class="propinst-height">'height'</span> property</H2>
613589

@@ -693,16 +669,11 @@ various kinds of boxes:
693669
<li>'inline-block', replaced elements in normal flow
694670
</ol>
695671

696-
<P><del>Points 1-6 and 9-10 include relative positioning.</del>
697-
<ins>For Points 1-6 and 9-10, the computed values of 'top' and
698-
'bottom' are determined by the rules in section 9.4.3.</ins>
672+
<P>For Points 1-6 and 9-10, the computed values of 'top' and
673+
'bottom' are determined by the rules in section 9.4.3.
699674

700675
<H3><a name="inline-non-replaced">Inline, non-replaced elements</a></H3>
701676

702-
<del><p>If <span class="propinst-top">'top'</span> or <span
703-
class="propinst-bottom">'bottom'</span> are 'auto',
704-
their computed value is 0.</del>
705-
706677
<P>The <span class="propinst-height">'height'</span> property doesn't
707678
apply. The height of the content area should be based on the font, but
708679
this specification does not specify how. A UA may, e.g., use the
@@ -734,8 +705,7 @@ involved, depending on the baseline alignment of the fonts.
734705
block-level replaced elements in normal flow, 'inline-block' replaced
735706
elements in normal flow and floating replaced elements</H3>
736707

737-
<p>If <del><span class="propinst-top">'top'</span>, <span
738-
class="propinst-bottom">'bottom'</span>,</del> <span
708+
<p>If <span
739709
class="propinst-margin-top">'margin-top'</span>, or <span
740710
class="propinst-margin-bottom">'margin-bottom'</span> are 'auto',
741711
their computed value is 0. If <span
@@ -755,8 +725,7 @@ class="propinst-height">'height'</span> is:
755725
<H3>Block-level and 'inline-block', non-replaced elements in normal
756726
flow</H3>
757727

758-
<p>If <del><span class="propinst-top">'top'</span>, <span
759-
class="propinst-bottom">'bottom'</span>,</del> <span
728+
<p>If <span
760729
class="propinst-margin-top">'margin-top'</span>, or <span
761730
class="propinst-margin-bottom">'margin-bottom'</span> are 'auto',
762731
their computed value is 0. If <span
@@ -1063,12 +1032,9 @@ not enter into the line box calculation, they are still rendered
10631032
around inline boxes. This means that if the height specified by <span
10641033
class="propinst-line-height">'line-height'</span> is less than the
10651034
content height of contained boxes, backgrounds and colors of padding
1066-
and borders may "bleed" into adjacent line boxes. <del
1067-
class=proposed>However, in this case, some user agents may use the
1068-
line box to "clip" the border and padding areas (i.e., not render
1069-
them).</del> <ins class=proposed>User agents should render the boxes
1035+
and borders may "bleed" into adjacent line boxes. User agents should render the boxes
10701036
in document order. This will cause the borders on subsequent lines to
1071-
paint over the borders and text of previous lines.</ins>
1037+
paint over the borders and text of previous lines.
10721038

10731039
<!-- #include src=properties/line-height.srb -->
10741040

@@ -1133,11 +1099,10 @@ div { line-height: 120%; font-size: 10pt } /* percentage */
11331099
</PRE>
11341100
</div>
11351101

1136-
<P><del class=proposed>When an element contains text that is rendered
1137-
in more than one font, user agents should determine the <span
1102+
<P>When an element contains text that is rendered
1103+
in more than one font, user agents may determine the <span
11381104
class="propinst-line-height">'line-height'</span> value according to
1139-
the largest font size. <!-- change this if font-size inheritance is
1140-
changed as per HWL's proposal --></del>
1105+
the largest font size.
11411106

11421107
<P>Generally, when there is only one value of <span
11431108
class="propinst-line-height">'line-height'</span> for all inline
@@ -1206,10 +1171,12 @@ table height algorithms</a> for details.
12061171
<DD>Align the bottom of the box with the bottom of the line box.
12071172
</DL>
12081173

1209-
<ins><P>The baseline of an 'inline-table' is the baseline of the last row
1210-
of the table. The baseline of an 'inline-block' is the baseline of the
1211-
last line box in the normal flow in the element, or the element's
1212-
bottom margin edge, if there is none.</ins>
1174+
<P>The baseline of an 'inline-table' is the baseline of the first row
1175+
of the table.
1176+
1177+
<P>A UA should use the baseline of the last line box in the normal
1178+
flow in the element as the baseline of an 'inline-block', or the
1179+
element's bottom margin edge, if there is none.
12131180

12141181
</BODY>
12151182
</HTML>

0 commit comments

Comments
 (0)