Closed Bug 196811 Opened 21 years ago Closed 21 years ago

Html tag <img> doesn't appear in xul-document

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: surkov, Assigned: hyatt)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021123
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021123

The picture embedded in html tag <img> doesn't show up in xul-document. The
picture will be showed only after refreshing document.

Reproducible: Always

Steps to Reproduce:
create document with the following content:

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    xmlns:html="http://www.w3.org/1999/xhtml">

<html:img src="chrome://global/skin/arrow/arrow-up.gif" />

</window>
Actual Results:  
When xul-document containing the html tag <img> picture is loaded then the
picture isn't displayed.

Expected Results:  
Image must be displayed.
I know about <image> tag, but <img> should work well too. 
http://xulplanet.com/tutorials/xultu/htmlelem.html
give it a size or flex.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
In Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 works
fine even without flex or size.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.