Closed Bug 248104 Opened 20 years ago Closed 19 years ago

Combo Box outputed by XML/XSL stops droping when gives focus to other tab or window

Categories

(Core :: XSLT, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: pedro.figueiredo, Assigned: peterv)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8

Hi,

I'm getting a weird behaviour when formating an XML document with an XSL
stylesheet, outputing a combo box. The page seems ok, but if I select another
tab or give focus to other window, the combo box stops working (it doesn't drop).

The code is:

--------- XML ------------

--------- XSL ------------


Reproducible: Always
Steps to Reproduce:
1. Create an XML file looking similar to:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="TestStyleSheet.xsl" version="1.0"
encodi\ng="ISO-8859-1"?>
<Gui>
<value value="1" text="dirham dos Emiratos Arabes Unidos (AED)"/>
<value value="2" text="afghani (AFA)"/>
<value value="3" text="lek (ALL)"/>
<value value="4" text="dram (AMD)"/>
<value value="5" text="florim das Antilhas Neerlandesas (ANG)"/>
<value value="6" text="kwanza (AOA)"/>
<value value="7" text="peso argentino (ARS)"/>
</Gui>

2. Create an XSL file to format it:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="ISO-8859-1" indent="yes"/>
<xsl:template match="/">
<xsl:apply-templates select="Gui"/>
</xsl:template>
<xsl:template match="Gui">
<html>
<body>
<select id="drop1">
<xsl:for-each select="value">
<option value="{@value}"><xsl:v\alue-of select="@text"/></option>
</xsl:for-each>
</select>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

3. Open the XML file
4. Try the combo box
5. Give focus to other tab or window
6. Try the combo again



Actual Results:  
The combo box stops droping

Expected Results:  
The combo box should continue to drop
Possibly a duplicate of Bug 221371 (or maybe Bug 236596).

Moving to Browser->XSLT
Assignee: firefox → peterv
Component: General → XSLT
OS: Linux → All
Product: Firefox → Browser
QA Contact: firefox.general → keith
Version: unspecified → Trunk
Component: XSLT → General
OS: All → Linux
Product: Browser → Firefox
QA Contact: keith → firefox.general
Version: Trunk → unspecified
naazgull was moving this bug back to the Firefox component a mistake or is it
Firefox specific?
(In reply to comment #2)
> naazgull was moving this bug back to the Firefox component a mistake or is it
> Firefox specific?

Just a bad synchronization... I think i update the test case URL at the same
time that you updated the category. Bad luck, I guess...
(In reply to comment #3)
> Just a bad synchronization... I think i update the test case URL at the same
> time that you updated the category. Bad luck, I guess...

No problem, moving back to XSLT
Component: General → XSLT
OS: Linux → All
Product: Firefox → Browser
QA Contact: firefox.general → keith
Version: unspecified → Trunk
This appears to be a duplicate of bug 236596.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.