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

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 UTC