[Webkit-unassigned] [Bug 50442] Radio button group state is not restored correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 3 09:30:51 PST 2010


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





--- Comment #1 from Darin Adler <darin at apple.com>  2010-12-03 09:30:51 PST ---
(In reply to comment #0)
> 3. The second input tag is parsed.
>   It has "checked" attribute. So, this radio button becomes "on", and the first radio button becomes "off". ******
> 4. HTMLFormControlEement::finishParsingChildren() is called for the second input.
>   The state is restored.  The radio button becomes "off".
> 
> I have no idea how to fix this bug at this moment.

During step (3), the control is in a position to know that it’s being created by the parser and has not yet finished parsing its children. We can set constructorNeedsCreatedByParser in HTMLTagNames.in and set a flag. If that flag is set, we can defer whatever work we need to until finishParsingChildren time.

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