Intrinsic Ratio/Height for

Wed, 03 May 2006 15:00:04 -0700

Hi,

I reported bug 70978 over 5 years ago:
https://bugzilla.mozilla.org/show_bug.cgi?id=70978

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)".

Does anyone know:
a) Will the reflow branch finally fix this?
b) Is there a CSS test for this functionality? (does Acid2 test for this
by chance?)

Reasoning/Goal: As I wrote in my test case (
https://bugzilla.mozilla.org/attachment.cgi?id=218888 ), I want to include
an SVG banner on a website that will scale properly when displayed on a 2"
Cell Phone screen or 30" Desktop LCD - I can specify a width of 80% of the
page, but there is then no way to specify a height that will maintain the
SVG image's proper intrinsic perspective. This unconstrained intrinsic
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.

Thanks!

-- 
Chris Hubick
mailto:[EMAIL PROTECTED]
http://www.hubick.com/

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

Reply via email to