search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

DOCTYPE EventResize

Asked by Anonymous
14 years ago.

Hello.

When using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > the newEnd in eventResize contains wrong value (you should add cellduration to calculate correct value).

Also, when this doctype will be supported. I have to do heavy job to restyle calendar with this doctype in IE8.

Regards,
Dmitry

Comment posted by Anonymous
14 years ago.

The problem is only IE-related with the doctype I specified.

Dmitry

Comment posted by Dan Letecky
14 years ago.

I would guess it happens because the doctype is not exactly is it should be. Other browsers might be able to recognize it but IE falls back to quirks mode.

Please try the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Or one of the doctypes listed at W3C:

www.w3.org/QA/2002/04/valid-dtd-list.html

Here is a table that summarizes how browsers handle the doctype strings:

gutfeldt.ch/matthias/articles/doctypeswitch/table.html

Comment posted by Dan Letecky
14 years ago.
Comment posted by Anonymous
14 years ago.

Thanks. Already discovered that, but I think that incorrect NewEnd in quirks-mode is not a MINOR issue :)

Think that should be fixed.

Regards,

Dmitry

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.