My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 236: IE8 doctype issues
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Dec 2011


 
Reported by Alasdair...@gmail.com, Oct 19, 2011
Having a tree everything works in IE6, FF, Chrome, Opera.

However if there is a doctype on the page, have tried:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
IE8 breaks, works fine without a D/T

Using Dynatree version 1.2.0 and jQuery 1.6.1

Attached files, IE8 with doctype, IE8 without doctype, UL markup.
ie8-with-doctype.JPG
18.5 KB   View   Download
ie8-without-doctype.JPG
19.3 KB   View   Download
ul_markup.txt
1.6 KB   View   Download
Oct 29, 2011
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: Milestone-Release1.2.1
Dec 27, 2011
Project Member #2 moo...@wwwendt.de
Thats because you passed invalid HTML.
IE seems to be more strict in standard or almost-standard mode.

This snippet is not allowed (LI must not contain a LI):


                        <li id="6_0" class="folder">
                            <a rel="7" href="/sub_sub_test">My Sub Sub Test</a>
                            <ul style="margin-left: 30px;">
                                <li id="file_7_0">
                                    <a href="/file_a">File A</a>
                                </li>
                                <li id="file_7_1">
                                    <a href="/file_b">File B</a>
                                </li>
                            </ul>
                            <li id="file_6_0">
                                <a href="/file_c">File C</a>
                            </li>
                            <li id="file_6_1">
                                <a href="/file_d">File D</a>
                            </li>
                        </li>

Status: Invalid

Powered by Google Project Hosting