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

RESOLVED WORKSFORME

Status

()

Core
XUL
RESOLVED WORKSFORME
15 years ago
10 years ago

People

(Reporter: surkov, Assigned: David Hyatt)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
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.
(Reporter)

Comment 2

15 years ago
I know about <image> tag, but <img> should work well too. 
http://xulplanet.com/tutorials/xultu/htmlelem.html

Comment 3

15 years ago
give it a size or flex.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 4

14 years ago
In Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 works
fine even without flex or size.

Updated

10 years ago
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.