- From: Alan Gresley <alan@css-class.com>
- Date: Tue, 31 Jan 2012 12:17:20 +1100
- To: Øyvind Stenhaug <oyvinds@opera.com>
- CC: www-style@w3.org, simon.sapin@kozea.fr
On 31/01/2012 2:30 AM, Øyvind Stenhaug wrote: > On Fri, 27 Jan 2012 21:41:19 +0100, Simon Sapin <simon.sapin@kozea.fr> >> According to 10.1, a containing block is one of : >> >> 1. The viewport >> 2. A page area >> 3. The content edge or padding edge of a block container >> 4. The bounding box around the padding boxes of ... something. I’m not >> sure how exactly that one works. (Can an inline element generate more >> than one inline-level boxes while *not* being split across lines?) > > (Yes, e.g. > <div dir="ltr"><span>english WERBEH</span> WERBEH</span></div> > where the uppercase parts represent right-to-left letters) 10.1 is talking about something like this [1], this [2] or this [3]. Note point 1.4: | In the case that the ancestor is an inline element, | the containing block is the bounding box around | the padding boxes of the first and the last inline | boxes generated for that element. In CSS 2.1, if | the inline element is split across multiple lines, | the containing block is undefined. This to my knowledge this was first mentioned on this list by Bruno Fassino [4] and became CSS21 issue-215 [5]. The resolution was to keep it undefined. | In CSS 2.1, if the inline element is split across | multiple lines, the containing block is *undefined*. 1. http://css-class.com/test/temp/containing-block-inline.htm 2. http://www.brunildo.org/test/inline-cb.html 3. http://brunildo.org/test/ts/containing-block-inline.html 4. http://lists.w3.org/Archives/Public/www-style/2010Mar/0140.html 5. http://wiki.csswg.org/spec/css2.1#issue-215 -- Alan Gresley http://css-3d.org/ http://css-class.com/
Received on Tuesday, 31 January 2012 01:17:54 UTC