[Webkit-unassigned] [Bug 12384] getComputedStyle with td.style.display='none' reports display=''

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 25 08:41:12 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12384


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|getComputedStyle bug with   |getComputedStyle with
                   |td.style.display='none'     |td.style.display='none'
                   |reports display=''          |reports display=''




------- Comment #5 from darin at apple.com  2007-01-25 08:41 PDT -------
Hyatt and I discussed how to fix this a long time ago.

We need to change the CSS style selector so it can create a style for a DOM
element that does not have a RenderObject, which should be relatively
straightforward. Then we need to create a cache of these RenderStyle objects
for elements they have been computed for -- presumably a HashMap. We need to
invalidate the styles in the cache when changes are made to the element. And we
need to make the computed style look up the RenderStyle in this cache.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list