[Webkit-unassigned] [Bug 50287] A radio button within label within legend can't be activated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 15 02:31:45 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=50287





--- Comment #2 from SravanKumar S <ssandela at innominds.com>  2012-02-15 02:31:45 PST ---
Created an attachment (id=127143)
 --> (https://bugs.webkit.org/attachment.cgi?id=127143&action=review)
Trimmer version  of test case to reproduce the issue

Hi,

On trying to root cause the issue, i could bring it down to following combination of tags with styling information, with which issue is still re-producible(Also attached as fieldset-legend-label-style.html).

<html>
<head>
<style type="text/css">
fieldset legend {
    padding: 4px;    
}
label {
    float: left;
    margin-top: 3px;
    margin-bottom: 5px;
}
</style>
</head>
<body><form><fieldset><legend><label class="radio"><input type="radio" />Kreditkarte</label></legend></fieldset></form></body>
</html>

Now on further analyzing and experimentation with different possibilities i've got a basic query.

1. Is the above combination of tags and styling information is valid?, Because from http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#h-17.10 (HTML 4 Spec) "The LEGEND element allows authors to assign a caption to a FIELDSET.". And the examples show only Simple text and no input elements added to it. So, i just wanted to confirm that above combination of tags is true and valid. 

Neverthless i see that above tags and style combination is rendering properly in FF and IE. But hey, its not the spec, so can some one please confirm?.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list