[Bug 7643] Why not use display:none instead of overflow:hidden; height:0? display:none seems to have the desired behavior in terms of exposure to AT and keyboard navigation in browsers.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7643


Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch>  2009-09-29 02:02:44 ---
The height was used instead of display to make the element open and close
because then it can be animated — but I guess that isn't necessary. I've made
it more vague.

The clipping when open is intentional, because if we don't clip then animating
the <details> becomes dangerous since different solutions might expose
different rendering artifacts.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 29 September 2009 02:02:53 UTC