On Tuesday 2009-07-28 18:49 +1200, Robert O'Callahan wrote:
> On 28/7/09 8:39 AM, L. David Baron wrote:
>> It seems to me that the *right* thing to do is to make the
>> architectural changes needed for transitions on elements that are or
>> were inside display:none elements.  However, that probably has
>> significant performance costs:  it would substantially reduce the
>> performance saving of making elements display:none (including the
>> cost of dynamic style changes that we currently skip processing for
>> subtrees inside display:none elements).
>
> But we'd only need to do that work for documents where transitions are  
> present, at least?

Yes, although we'd have to detect whether transitions are present at
CSS parse time.  (If we did it after style resolution we could miss
the cases this would be for until after they mattered.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to