On Feb 1, 2011, at 8:47 PM, Bruno Fassino wrote: > I need to add a border to a flash object: <object > type="application/x-shockwave-flash" data=... > > Older version of Firefox ignored such borders, now Fx 3.6 applies it, > but it considers the border as part of the object size, as if the > object had box-sizing: border-box. > See this test case: http://brunildo.org/test/fx-object-border.html > The first red square is a flash object, the second one an image > (rendered using object). They should have the same size, but in Fx > 3.6, the first one is smaller. This occurs only in Firefox (IE9 is > ok). -moz-box-sizing doesn't seem to help. > I could get that border in a different way, but if possible I would > prefer not to alter anything in surrounding elements, so I'm looking > for a fix involving _only_ the object element (and of course not > breaking other browsers). Is this possible?
I have no clue as to what is happening… I noticed though that this is not limited to application/x-shockwave-flash, it reproduces with quicktime, and presumably with anything that needs a plugin. And, at least for Quicktime, the border covers the movie (I don't have Flash installed on this machine to verify). As you noted, other media types (image/...,and I tried text/html) work correctly. And it seems to work correctly with <embed> Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
