Cool, setting height=100% on html, body, and containing div in lively kernel makes the page render the same as in webkit. It's still a bit strange, though, there's now a vertical scrollbar and and a lot of empty space underneath. But at least this is cross-browser strangeness, and it would probably be productive to start with a simpler example.
I'll see if i can submit a patch to the lively kernel guys to fix the height issue, Jake On Wed, Nov 19, 2008 at 2:34 AM, Robert Longson <[EMAIL PROTECTED]> wrote: > --- In svg-developers@yahoogroups.com, "Jake Beard" <[EMAIL PROTECTED]> wrote: >> >> Hi Robert, >> >> You might be right, I don't have a complete understanding of the spec. >> It does work in webkit, though, and this might be the source of my >> confusion. Would I be correct in thinking, then, that something like >> the following would be the correct way to specify an svg element that >> takes up the full width and height of the page? >> >> <div style="width:100%;height:100%;"> >> <svg width="100%" height="100%"></svg> >> </div> > > http://www.dv-schmelzer.de/faq/Programmierung/CSS/100_percent_height/100percheight.html > >> >> In order to better understand this, I've been playing around with >> width/height=100% just on divs, without inner svg elements, and have >> been getting somewhat confusing results: >> >> http://msdl.cs.mcgill.ca/people/jake/tests/svgHeight100Percent_3.html >> http://msdl.cs.mcgill.ca/people/jake/tests/svgHeight100Percent_3.xhtml >> >> Why does the one page served up as html show a fullscreen div, while >> the other xhtml document shows nothing? Are width/height attributes on >> divs handled so differently between the HTML and XHTML specs? > > No, however you are comparing html quirks mode with xhtml which is > always strict mode. Try giving your html a proper doctype and you will > see it works the same as xhtml. > > Best regards > > Robert > > ------------------------------------ ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/