Closed Bug 437610 Opened 12 years ago Closed 12 years ago

Full-window SVG Image clipped too small

Categories

(Core :: SVG, defect)

defect
Not set

Tracking

()

RESOLVED INVALID

People

(Reporter: adil, Unassigned)

References

()

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008060504 Minefield/3.0pre
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008060504 Minefield/3.0pre

The SVG image in Brendan Eich's "Truth About JavaScript" presentation is clipped to the top fifth of the window when it should be filling the whole window.

Reproducible: Always

Steps to Reproduce:
1. Open svg image from the attached URL.
2. Look at it.
3. Say "oh dear".
Actual Results:  
SVG image is visible in only the top fifth of the screen

Expected Results:  
SVG image should fill the screen.

I tested this in FF2 and Safari and both give the correct result - so I think this may be a regression in FF3 nightly.
Component: General → SVG
Product: Firefox → Core
Version: unspecified → Trunk
Regression range is
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1195374060&maxdate=1195387919
with only bug 294086 in it.
Blocks: 294086
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Mac OS X → All
Hardware: Macintosh → All
This is invalid I'm afraid. The <doc> element's height depends on it's contents, so the implicit percentage height of 100% for the SVG can't be resolved. As a result, the height of the SVG falls back to 150px as per CSS 2.1.

Vlad, can you fix up your demo? Dunno why it has a namespaceless <doc> tag in there anyway...
QA Contact: general → general
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.