Closed Bug 315747 Opened 19 years ago Closed 18 years ago

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

Categories

(Core :: XSLT, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vladperl, Unassigned)

Details

Attachments

(1 file)

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
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
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: