[Webkit-unassigned] [Bug 11058] New: Background-image with float content doesn't display
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Wed Sep 27 10:23:30 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=11058
Summary: Background-image with float content doesn't display
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: ed.keech at gmail.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test</title>
</head>
<body>
<div
style="background-image:url(http://64.69.69.226/Williams_College_wl.jpg);background-repeat:
no-repeat">
<div style="float:left">
<p style="color:white">This is some content</p>
</div>
</div>
</body>
</html>
IT doesn't matter the image. It will not display unless you have an element
that takes up normal space with the clear elements attached such as
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test</title>
</head>
<body>
<div
style="background-image:url(http://64.69.69.226/Williams_College_wl.jpg);background-repeat:
no-repeat">
<div style="float:left">
<p style="color:white">This is some content</p>
</div>
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
<br style="clear:all" />
</div>
</body>
</html>
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list