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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 2 17:36:20 PDT 2011


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





--- Comment #25 from Darin Adler <darin at apple.com>  2011-05-02 17:36:20 PST ---
I may have been wrong about style recalculation. I didn’t realize that a change to the enabled state of any element in a document causes the entire element’s style to be recalculated.

As far as performance is concerned, I am indeed concerned that keeping this up to date when manipulating the DOM could be expensive. But I believe this is true of any design. If we cache a pointer to a fieldset in a form element, that cache needs to be invalidated when DOM mutation occurs.

I’m sorry I can’t give more precise direction than that. There’s nothing fundamentally wrong with putting a fieldset pointer in the rare data of every form element if that really is what it takes to implement this feature.

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