[Dojo-interest] Using <base> tag breaks Dojo in IE6
Tom Trenka
dojo-interest at dept-z.com
Wed Nov 15 13:10:59 MST 2006
Jesse is correct here; IE doesn't like the tag being closed as a singleton,
you need to include a full closing element (like you do with the script
tag).
This was a known issue, and this is the fix for it. We had a choice:
support all versions of base, or include VML support out of the gate. We
chose to support VML first, since few actually use the base tag--and those
frameworks that do have worked out this fix already.
trt
Jessek wrote:
>
> <base href="http://drupal.org/"><!--[if IE]></base><![endif]-->
>
> On 11/15/06, Dustin Machi <dmachi at dojotoolkit.org> wrote:
>>
>> There are lots of them though :)
>>
>> http://www.google.com/search?q=site%3Adojotoolkit.org+base+tag
>>
>> I think, without going through these messages, that we don't support the
>> base tag.
>>
>> Dustin
>>
>> Toby Corkindale wrote:
>> > Hi,
>> > I have a strange case, that I've isolated down to the inclusion of the
>> > <base> tag.
>> > I have two very simple pages, both that load Dojo, and do nothing else.
>> > One of them crashes IE6 with an "Operation aborted" message, whereas
>> the
>> > other works fine. Both pages work fine in Firefox.
>> >
>> > If you'd like to see these in action, please visit
>> http://wtf.ymogen.net/.
>> >
>> > I had a search around the archives and on Google, but couldn't find any
>> > relevant posts. My apologies if this is a known issue - and I will be
>> > delighted if you can point me to the fix! :)
>> >
>> > The broken HTML page follows below (and assumes Dojo 0.3.1 is extracted
>> > under /dojo/):
>> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> > <html>
>> > <head>
>> > <base href="http://wtf.ymogen.net/" />
>> > <script type="text/javascript" src="/dojo/dojo.js"></script>
>> > <script type="text/javascript">
>> > dojo.require("dojo.widget.TabContainer");
>> > </script>
>> > </head>
>> > <body>
>> > <p>Content</p>
>> > </body>
>> > </html>
>> > _______________________________________________
>> > Dojo FAQ: http://dojo.jot.com/FAQ
>> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> > Dojo-interest at dojotoolkit.org
>> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
>> >
>> _______________________________________________
>> Dojo FAQ: http://dojo.jot.com/FAQ
>> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> Dojo-interest at dojotoolkit.org
>> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
--
View this message in context: http://www.nabble.com/Using-%3Cbase%3E-tag-breaks-Dojo-in-IE6-tf2637961.html#a7365361
Sent from the Dojo mailing list archive at Nabble.com.
More information about the Dojo-interest
mailing list