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

RE: [CSS2.1] list-style-image sizing rules don't match reality

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Tue, 15 Mar 2011 16:22:02 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
Message-ID: <07349ECFC3608F48BC3B10459913E70B12CFDB2D@TK5EX14MBXC132.redmond.corp.microsoft.com>
On Monday, March 14, 2011 5:14 PM Tab Atkins Jr. wrote:
> On Mon, Mar 14, 2011 at 5:11 PM, Arron Eicholz
> <Arron.Eicholz@microsoft.com> wrote:
> > On Monday, March 14, 2011 5:01 PM Tab Atkins Jr. wrote:
> >> We did *not* resolve to update the specification in that manner;
> >> that's just fantasai's most recent proposal, which we determined
> >> during the ftf was insufficient.  According to
> >> <http://wiki.csswg.org/spec/css2.1#issue-224>, we accepted my
> proposal.
> >>
> >
> > I knew in responding to so many of these I was going to get one or two of
> the incorrect.
> >
> > Thanks for catching my mistake. You are correct it does say accept your
> proposal.
> 
> No problem; I just wanted to ensure the record was correct, so Bert didn't
> end up accidentally referring to this email and editting the spec wrong. ^_^
> 

Below is the correct change that will be made to the CSS 2.1 specification[1]. Sorry for the confusion and I hope the resolves your issue.

| 1. If the image has an intrinsic width and height, the used width and 
| height are the same.
|
| 2. Otherwise, if the image has an intrinsic ratio and either an 
| intrinsic width or an intrinsic height, the used width/height is the 
| same as the provided intrinsic width/height, and the used value of the 
| missing dimension is calculated from the provided dimension and the 
| ratio.
|
| 3. Otherwise, if the image has an intrinsic ratio, the used width is 
| 1em and the used height is calculated from this width and the 
| intrinsic ratio.  If this would produce a height larger than 1em, then 
| the used height is instead set to 1em and the used width is calculated 
| from this height and the intrinsic ratio.
|
| 4. Otherwise, the image's used width is its intrinsic width if it has 
| one, or else 1em.  The image's used height is its intrinsic height if 
| it has one, or else 1em.

Please respond before 18 March, 2011 if you do not accept the current resolution.

[1] http://w3.org/TR/CSS

Received on Tuesday, 15 March 2011 16:22:41 GMT

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