W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Action Item for Issue 198

From: Stephen Zilles <szilles@adobe.com>
Date: Mon, 23 Aug 2010 05:50:37 -0700
To: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <CE2F61DA5FA23945A4EA99A212B1579527A0D5C25C@nambx03.corp.adobe.com>
The issue is to clarify the behavior of Run-ins and Floats.

EXISTING GROUP DRAFT TEXT
9.2.3 Run-in boxes

A run-in element (or pseudo-element) A behaves as follows:

 1.  If A has any children<http://www.w3.org/Style/Group/css2-src/conform.html#child> that inhibit run-in behavior<http://www.w3.org/Style/Group/css2-src/visuren.html#inhibit-run-in> (see below), then A is rendered as if it had 'display: block'.
 2.  Let B be the first of A's following siblings<http://www.w3.org/Style/Group/css2-src/conform.html#sibling> that is neither floating nor absolutely positioned<http://www.w3.org/Style/Group/css2-src/visuren.html#absolutely-positioned> nor has 'display: none'. If B exists and has a specified value for 'display' of 'block' or 'list-item' and is not replaced,<http://www.w3.org/Style/Group/css2-src/conform.html#replaced-element> then A is rendered as an 'inline' element at the start of B's principal box.<http://www.w3.org/Style/Group/css2-src/visuren.html#principal-box> Note: A is rendered before B's ':before' pseudo-element, if any. See 12.1.<http://www.w3.org/Style/Group/css2-src/generate.html#before-after-content>
 3.  ...
Suggested NOTE: Above, A refers to the entire content of the run-in element, including floats. When A is rendered inside B, any siblings of A and B that lie between them are consider to precede A for the purpose of rendering; for example, any float C that follows A and precedes B in the source tree will be considered to precede A for the purposes of 'clear".

EXISTING GROUP DRAFT TEXT

'clear'








...

This property indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.<http://www.w3.org/Style/Group/css2-src/visuren.html#block-formatting>

For run-in boxes<http://www.w3.org/Style/Group/css2-src/visuren.html#run-in>, this property applies to the final block box to which the run-in box belongs.
Suggested change:

1.       Remove the paragraph beginning, "For run-in boxes<http://www.w3.org/Style/Group/css2-src/visuren.html#run-in>, this property"

2.       To the first paragraph above, add: For run-ins see 9.2.3.

Steve Zilles
Received on Monday, 23 August 2010 12:51:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT