Re: Intrinsic Ratio/Height for

Wed, 03 May 2006 15:12:29 -0700

On Wednesday 2006-05-03 15:57 -0600, Chris Hubick wrote:
> As I just commented there, I believe the behavior I am asking for is
> specified in section 10.6.2 of the CSS 2.1 draft at:
> http://www.w3.org/TR/2006/WD-CSS21-20060411/visudet.html#inline-replaced-height
> 
> Re: "block-level replaced elements in normal flow":
> 
> If 'height' has a computed value of 'auto' and 'width' has some other
> computed value, and the replaced element has an intrinsic ratio, ... then
> the used value of 'height' is: (used width) / (intrinsic ratio)".

It's worth noting that this part of the spec is very new and is still
changing slightly with each draft.  I think there have still been
discussions in the working group about it, so I'm not sure it's quite
stable enough for implementation.

> a) Will the reflow branch finally fix this?

No.

> b) Is there a CSS test for this functionality? (does Acid2 test for this
> by chance?)

Acid2 doesn't; I doubt there are any tests in the W3C CSS2.1 test suite
for it yet either.

> perspective resizing does work for bitmap images. It seems to me that
> scalable graphics support is useless without a way to effectively utilize
> that scalability in the browser+html.

Yep, that's why this bit of the spec has been worked on recently; once
it's stable I think it's something we should implement.  (That said,
don't hold your breath for having it implemented for plugins.)

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Attachment: pgpbibC9TLfWr.pgp
Description: PGP signature

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to