Skip to content

Commit 0c9e7cc

Browse files
committed
[css2] Issues 153, 181, 204, 205, 213, 215, 218, 220, 221, 228.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403129
1 parent 8215c33 commit 0c9e7cc

1 file changed

Lines changed: 176 additions & 6 deletions

File tree

css2/changes.src

Lines changed: 176 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: changes.src,v 2.134 2011-03-04 01:17:51 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.135 2011-03-04 17:01:41 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Changes</TITLE>
66
</HEAD>
@@ -6526,10 +6526,10 @@ Calculating widths and margins</a></h3>
65266526
value, still to be compared to 'min-width' and 'max-width'
65276527

65286528
<blockquote>
6529-
<p><p class=note><em><strong>Note.</strong> The used value of 'width'
6530-
calculated below is a tentative value, and may have to be calculated
6531-
multiple times, depending on 'min-width' and 'max-width', see the
6532-
section Minimum and maximum widths below.</em>
6529+
<p><p class=note><ins><em><strong>Note.</strong> The used value of
6530+
'width' calculated below is a tentative value, and may have to be
6531+
calculated multiple times, depending on 'min-width' and 'max-width',
6532+
see the section Minimum and maximum widths below.</em></ins>
65336533
</blockquote>
65346534

65356535
<p>A similar note is added to section&nbsp;10.6 about calculating
@@ -6563,7 +6563,177 @@ Inline formatting contexts</a></h3>
65636563
<p>The words "line feed" were a typing error. The intended words are
65646564
"forced line break."
65656565

6566-
<!-- To do: 218, 215, 213, 210, 204, 181, 159, 153 -->
6566+
<!--========================== issue 218 ==========================-->
6567+
6568+
<h3 id=u.10.3.2><a
6569+
href="/TR/2010/WD-CSS2-20101207/visudet.html#inline-replaced-width">10.3.2
6570+
Inline, replaced elements</a></h3>
6571+
6572+
<p>No image formats were found that allow an intrinsic size to be
6573+
expressed as a percentage. The relevant definitions are removed:
6574+
6575+
<blockquote>
6576+
<p><del>Percentage intrinsic widths are first evaluated with respect
6577+
to the containing block's width, if that width does not itself depend
6578+
on the replaced element's width. If it does, then the resulting layout
6579+
is undefined in CSS 2.1.</del>
6580+
</blockquote>
6581+
6582+
<p>Similarly in <a
6583+
href="/TR/2010/WD-CSS2-20101207/visudet.html#inline-replaced-height">10.6.2</a>:
6584+
6585+
<blockquote>
6586+
<p><del>Percentage intrinsic heights are evaluated with respect to the
6587+
containing block's height, if that height is specified explicitly, or
6588+
if the replaced element is absolutely positioned. If neither of these
6589+
conditions is met, then percentage values on such replaced elements
6590+
cannot be resolved and such elements are assumed to have no intrinsic
6591+
height.</del>
6592+
</blockquote>
6593+
6594+
<p>And in <a
6595+
href="/TR/2010/WD-CSS2-20101207/generate.html#list-style">12.5.1</a>:
6596+
6597+
<blockquote>
6598+
<p><del>2. If the image's intrinsic width or height is given as a
6599+
percentage, then that percentage is resolved against 1em.</del>
6600+
</blockquote>
6601+
6602+
<!--========================== issue 215 ==========================-->
6603+
6604+
<h3 id=u.10.1><a
6605+
href="/TR/2010/WD-CSS2-20101207/visudet.html#containing-block-details">10.1
6606+
Definition of "containing block"</a></h3>
6607+
6608+
<p>In CSS&nbsp;2.1, it is undefined what the containing block of an
6609+
absolutely positioned element is, if its nearest positioned ancestor
6610+
is inline and split over multiple lines:
6611+
6612+
<blockquote>
6613+
4. If the element has 'position: absolute', the containing block is
6614+
<del>established by</del> <ins>the padding edge of</ins> the nearest
6615+
ancestor with a 'position' of 'absolute', 'relative' or 'fixed'<del>,
6616+
in the following way:</del><ins>.</ins>
6617+
<ol>
6618+
<li><del>In the case that the ancestor is an inline box, the
6619+
containing block depends on the 'direction' property of the
6620+
ancestor:</del>
6621+
<ol>
6622+
<li><del>If the 'direction' is 'ltr', the top and left of the
6623+
containing block are the top and left padding edges of the first
6624+
box generated by the ancestor, and the bottom and right are the
6625+
bottom and right padding edges of the last box of the
6626+
ancestor.</del>
6627+
6628+
<li><del>If the 'direction' is 'rtl', the top and right are the
6629+
top and right padding edges of the first box generated by the
6630+
ancestor, and the bottom and left are the bottom and left padding
6631+
edges of the last box of the ancestor.</del>
6632+
</ol>
6633+
<p><del>Note: This may cause the containing block's width to be
6634+
negative.</del>
6635+
6636+
<li><del>Otherwise, the containing block is formed by the padding edge of
6637+
the ancestor.</del>
6638+
</ol>
6639+
6640+
<p>If there is no such ancestor, the containing block is the initial
6641+
containing block. <ins>In CSS&nbsp;2.1, if that nearest ancestor is
6642+
an inline-level element that splits across multiple lines, the
6643+
containing block is undefined.</ins>
6644+
</blockquote>
6645+
6646+
<!--========================== issue 213 ==========================-->
6647+
6648+
<h3 id=u.13.2.2><a
6649+
href="/TR/2010/WD-CSS2-20101207/page.html#page-selectors">13.2.2 Page
6650+
selectors: selecting left, right, and first pages</a></h3>
6651+
6652+
<p>CSS&nbsp;2.1 does not define if ':first' applies to the first page or
6653+
the first non-blank page:
6654+
6655+
<blockquote>
6656+
<p><ins>If a forced break occurs before the first generated box, it is
6657+
undefined in CSS&nbsp;2.1 whether ':first' applies to the blank page
6658+
before the break or to the page after it.</ins>
6659+
</blockquote>
6660+
6661+
<!--========================== issue 204 ==========================-->
6662+
6663+
<h3 id=u.8.3.1><a
6664+
href="/TR/2010/WD-CSS2-20101207/box.html#collapsing-margins">8.3.1
6665+
Collapsing margins</a></h3>
6666+
6667+
<p>Added a note with a link to 9.4.2, which defines types of line boxes
6668+
that exist but do not interfere with collapsing margins.
6669+
6670+
<blockquote>
6671+
<ul>
6672+
<li>no line boxes, no clearance, no padding and no border separate
6673+
them <ins><span class="note">(Note that <a
6674+
href="visuren.html#phantom-line-box">certain zero-height line
6675+
boxes</a> (see <a href="visuren.html#inline-formatting">9.4.2</a>) are
6676+
ignored for this purpose.)</span></ins>
6677+
</blockquote>
6678+
6679+
<!--========================== issue 181 ==========================-->
6680+
6681+
<h3 id=u.10.8><a
6682+
href="/TR/2010/WD-CSS2-20101207/visudet.html#line-height">10.8 Line
6683+
height calculations: the 'line-height' and 'vertical-align'
6684+
properties</a></h3>
6685+
6686+
<p>The definition of which height is used for the different kinds of
6687+
inline-level boxes is made explicit, rather than linked:
6688+
6689+
<blockquote>
6690+
<ol>
6691+
<li>The height of each inline-level box in the line box is calculated.
6692+
<ins>For replaced elements, inline-block elements, and inline-table
6693+
elements, this is the height of their margin box; for inline boxes,
6694+
this is their 'line-height'.</ins>
6695+
(See <a href="visudet.html#Computing_heights_and_margins">"Calculating
6696+
heights and margins"</a> and the
6697+
<del>'line-height' property</del>
6698+
<ins><a href="visudet.html#inline-box-height">height of inline
6699+
boxes</a> in <a href="visudet.html#leading">"Leading and
6700+
half-leading"</a></ins>.)
6701+
</blockquote>
6702+
6703+
<p>The part of the definition that was in <a
6704+
href="visudet.html#inline-replaced-height">10.6.2</a> is removed:
6705+
6706+
<blockquote>
6707+
<p><del>For 'inline' and 'inline-block' elements, the margin box is
6708+
used when calculating the height of the line box.</del>
6709+
</blockquote>
6710+
6711+
<!--========================== issue 153 ==========================-->
6712+
6713+
<h3 id=u.10.8.1><a
6714+
href="/TR/2010/WD-CSS2-20101207/visudet.html#leading"</a>10.8.1
6715+
Leading and half-leading</h3>
6716+
6717+
<p>Inserted the following before the definitions of the keywords of
6718+
'vertical-align' to define precisely which box is aligned:
6719+
6720+
<blockquote>
6721+
<p><ins>In the following definitions, for inline non-replaced
6722+
elements, the box used for alignment is the box whose height is the
6723+
'line-height' (containing the box's glyphs and the half-leading on
6724+
each side, see <a
6725+
href="visudet.html#inline-box-height">above</a>). For all other
6726+
elements, the box used for alignment is the margin box.</ins>
6727+
</blockquote>
6728+
6729+
<p>Also, to make sure there always is a box whose height is
6730+
'line-height', removed a phrase earlier in the same section:
6731+
6732+
<blockquote>
6733+
<p>User agent must align the glyphs in a non-replaced inline box to
6734+
each other by their relevant baselines<del>, and to nested inline
6735+
boxes according to 'vertical-align'</del>.
6736+
</blockquote>
65676737

65686738
</BODY>
65696739
</HTML>

0 commit comments

Comments
 (0)