W3C home > Mailing lists > Public > www-style@w3.org > June 2011

RE: [css3-regions] region intrinsic size and aspect ratio

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Sat, 25 Jun 2011 02:20:41 +0000
To: Stephen Zilles <szilles@adobe.com>, Vincent Hardy <vhardy@adobe.com>, "W3C style mailing list" <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E5398569284120554ED@TK5EX14MBXC213.redmond.corp.microsoft.com>
Unlike its pre-region state, a region has no intrinsic content, so it can't really be expected to be same size as before. But it is still a block... The thread Edward pointed at had some good arguments, I'll follow up there.

From: Stephen Zilles [mailto:szilles@adobe.com]
Sent: Friday, June 24, 2011 2:16 PM
To: Alex Mogilevsky; Vincent Hardy; W3C style mailing list
Subject: RE: [css3-regions] region intrinsic size and aspect ratio

Alex,
  If the element that becomes a region is a block element (prior to noting it is a region), I would expect that its size would be determined like a block; that is, assuming the default "auto" values for size, it would be the width of its containing block and as high as needed by its contents. Why would that not be the right answer? Or, are you asking the question only when the element that becomes a region is an inline?

Steve Zilles

From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Alex Mogilevsky
Sent: Friday, June 24, 2011 12:26 PM
To: Vincent Hardy; W3C style mailing list
Subject: [css3-regions] region intrinsic size and aspect ratio

Since making something a region (setting 'flow-from') takes over the element's content, it should be reasonable to expect that intrinsic size of the region is calculated similar to that of a replaced element or iframe. Unless of course it is a situation where region is sized to content.

That means that default region size is 300px by 150px, and if either width or height is not specified it gets its respective intrinsic value (because region does not have an intrinsic aspect ratio).

Do you agree?
Received on Saturday, 25 June 2011 02:21:11 GMT

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