ouyang789987 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Feature: use style attribute instead of width and height attributes #447

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For many HTML tags the width and height attributes are deprecated but, for
the object element it seems not (as of yet).

However, it is easy to implement full style support as shown by the
attached modified swfobject.js to prevent future issues and allow full
strict mode support.

Original issue reported on code.google.com by the.djm...@gmail.com on 4 Mar 2010 at 10:52

Attachments:

GoogleCodeExporter commented 9 years ago
I believe the browser treats these two methods differently, but can't say for 
certain. We will investigate.

Original comment by platelu...@gmail.com on 7 Nov 2010 at 9:37

GoogleCodeExporter commented 9 years ago
A good idea, but we're focusing on bug fixes for the next release, and this 
could introduce problems. Placing on hold.

Original comment by platelu...@gmail.com on 18 May 2011 at 8:21