[Bug 7657] Redefining dt and dd

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


Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com




--- Comment #3 from Tab Atkins Jr. <jackalmage@gmail.com>  2009-09-29 01:39:41 ---
As Shelley pointed out with her link to the mailing list, IE6 and IE7 will
generate non-tree DOMs when they encounter <dt> or <dd> outside of <dl>.

This issue cannot be easily gotten rid of with a simple JS hack, like you can
do with the other new elements.  However, it *is* possible to (as far as we
know) safely force IE6 and IE7 to generate a tree DOM of the expected shape by
using a conditional comment to insert an empty <object> element.  I have no
idea whether this has additional ill effects.

While I don't expect to be able to depend on <details> being natively
implemented for years yet, I *do* want to be able to slide in appropriate
functionality via javascript until then (with a quick feature-test to
seamlessly allow native implementations when they exist).  I can't do this for
IE6 and IE7 if they generate bad DOMs, and I don't want to have to carry around
a markup talisman to force it into working correctly - using a single js file
to hack things into shape is bad enough.


-- 
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 01:39:54 UTC