[Webkit-unassigned] [Bug 58837] Fieldset disabled attribute does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 11:04:17 PDT 2011


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





--- Comment #14 from Naoki Takano <takano.naoki at gmail.com>  2011-04-26 11:04:17 PST ---
I see.

If we implement efficient check for fieldset,  do you have any suggestion?

Easiest way is to cache the fieldset information into the whole node. But this causes resource problem ;-(

Or do we already have the similar element to refer the implementation?

(In reply to comment #13)
> (In reply to comment #12)
> > One thing in my mind is to pass fieldset parent when HTMLFormControlElement is constructed like form parent.
> 
> It will work only if the control is created by the parser.  It won't work for Document::createElement().
> 
> HTMLFormControlElement::disabled() is always called in CSS style matching.  So lazy-evaluation for m_fieldSet won't help.
> 
> It is slow because we need to traverse to the root if there is no fieldset ancestor.  We need a efficient way to check existence of fieldset elements.

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