Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebFrame bottom and right margin hard-coded to 8 pixels?



I'm working on a WebKit WebView and I want a Flash object to fill the entire view.

It doesn't seem to work: I can't get it to exactly fill the view (I'm on Tiger 10.4.8).

Here is the HTML:

<html>
<head>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" bgcolor="black" scroll="no">
<embed name="SWFObject"
bgcolor="#C0C0C0"
width="100%"
height="100%"
menu="false"
loop="false"
quality="best"
src="myFlashMovie.swf"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer";></ embed>
</body>
</html>



Notice the "100%" for width and height, and scroll="no". As I read the documentation, this should fill the entire window. On Firefox this does.


In Safari or WebKit, I get extra space and a scrollbar on the right, and some extra pixels on the bottom. It seems like there is a hard- coded 8-pixel right and bottom margin.

Is this known or should I submit a bug?

Thanks,
Rudi

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.