label for checkbox are not shown in case of using xslt to render html

RESOLVED INVALID

Status

()

Core
XSLT
RESOLVED INVALID
13 years ago
12 years ago

People

(Reporter: Vladimir Perlov, Unassigned)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051107 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051107 Firefox/1.5

I have xml file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<test/>
And I have xsl file:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
	<html>
		<body>
			<input type="checkbox" name="test">test</input>
		</body>
	</html>
	</xsl:template>
</xsl:stylesheet>

when I open xml file in IE I see checkbox with label "test".
In case I open the same file with Firefox 1.5 label for checkbox element is absent. That only happened in case using xslt to render html.

Reproducible: Always

Steps to Reproduce:
1.open xml file(example of file in details section) in firefox 1.5


Actual Results:  
not presentng label "test" from <input type="checkbox" name="test">test</input> 

Expected Results:  
must show label to checkbox control
in IE work as expected

show label for checkbox control
Assignee: nobody → xslt
Component: General → XSLT
Product: Firefox → Core
QA Contact: general → keith
Version: unspecified → 1.8 Branch

Comment 1

12 years ago
Created attachment 247835 [details]
XSL and XML in one (with self-reference)

Empty HTML-elements must not have body, is'n it? After correction rendering is ok.
yup, right you are. thanks for doing this
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.