[Webkit-unassigned] [Bug 37900] cloneNode() does not preserve z-index with more than six digits

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 27 12:54:38 PDT 2010


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





--- Comment #11 from Darin Adler <darin at apple.com>  2010-04-27 12:54:38 PST ---
(From update of attachment 54023)
> +    if (inputType() == RADIO) {
> +        // The radio button could be checked but not yet added to the checkedRadioButtons
> +        // map (when checked is set before appending to the DOM tree)
> +        setNeedsStyleRecalc();
> +        if (checked())
> +            checkedRadioButtons(this).addButton(this);
> +
> +        if (renderer() && renderer()->style()->hasAppearance())
> +            renderer()->theme()->stateChanged(renderer(), CheckedState);
> +    }

I have trouble understanding why this is exactly the right code to run. Can we
factor things so that HTMLInputElement::setChecked shares code with this? It
seems to be just copied and pasted.

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