[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
Sat Feb 18 04:35:57 PST 2012


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





--- Comment #4 from SravanKumar S <ssandela at innominds.com>  2012-02-18 04:35:57 PST ---
Created an attachment (id=127704)
 --> (https://bugs.webkit.org/attachment.cgi?id=127704&action=review)
Test case to demo proper and buggy behaviour because of float style.

On further analysis 

1.Qualifying "label" as float when it is in-side a legend element is creating the problem.

2. radio-button, as a matter of fact any other form element has nothing to do with it, as any form element behaves the same way. So, it is not a issue specific to any form element.

3.By default label is Inline, and when "float" styling information is applied its becoming block and since already "input" is block element, i think it is trying to stack vertically the new block element and hence not able to get the height for legend element. Hence its height is 0 and unable to paint it.

4.Attached test case showing two different scenarios, we see no legend element in first case where float: left is specified, and no such thing in second scenario where no styling information is specified.

-- 
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