Closed Bug 263986 Opened 21 years ago Closed 20 years ago

browser does not consider percentage width / height for embedded objects like flash swf

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 237113

People

(Reporter: bugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040911 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040911 Firefox/0.10 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="k" align="middle"> <embed src="k.swf" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="k" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> //////////////////// This code should produce the rendering of swf movie on the whole surface of the browser window. (IE does that). Instead it will render a default small rectangle. Reproducible: Always Steps to Reproduce: see above details Actual Results: see above details Expected Results: see above details see above details
Same behavior with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927 -> Layout
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
The rendering is correct, since the <center> parent is auto-height and per CSS spec 100% of auto is auto. Note that in quirks mode we do what IE does (breaking the CSS spec), but this page claims to be XHTML 1.0, so we assume it wants to be rendered per the standards.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 237113 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.