Rendering of <hask> in new wiki (MSIE6)

Hi, In MSIE6, <hask> tags are rendered like this (from the Monad_Transformers page): transformers: provides the classes MonadTrans and MonadIO , as well as concrete monad transformers such as StateT ... etc. The Wiki source: [http://hackage.haskell.org/package/transformers transformers]: provides the classes <hask>MonadTrans</hask> and <hask>MonadIO</hask>, as well as concrete monad transformers such as <hask>StateT</hask>. HTML (a small piece of it): provides the classes <div class="inline-code"><div dir="ltr" style="text-align: left;"><div class="source-haskell" style="font-family: monospace;">MonadTrans</div></div></div> Words MonadTrans, MonadIO, StateT etc are enclosed in <hask> tags. They show up in monospace, each starting a new line. Is this only MSIE6, or this is how it is supposed to render? Thanks. PS I am not attaching a screenshot to the mailing list; if anyone needs to see it I'll send via personal e-mail. -- Dimitry Golubovsky Anywhere on the Web

On Wed, Dec 15, 2010 at 09:01:49AM -0500, Dimitry Golubovsky wrote:
HTML (a small piece of it):
provides the classes <div class="inline-code"><div dir="ltr" style="text-align: left;"><div class="source-haskell" style="font-family: monospace;">MonadTrans</div></div></div>
Words MonadTrans, MonadIO, StateT etc are enclosed in <hask> tags. They show up in monospace, each starting a new line. Is this only MSIE6, or this is how it is supposed to render?
They're inline in FireFox. That text-align: seems unnecessary.

On 16/12/2010, at 3:31 AM, Ross Paterson wrote:
On Wed, Dec 15, 2010 at 09:01:49AM -0500, Dimitry Golubovsky wrote:
HTML (a small piece of it):
provides the classes <div class="inline-code"><div dir="ltr" style="text-align: left;"><div class="source-haskell" style="font-family: monospace;">MonadTrans</div></div></div>
Words MonadTrans, MonadIO, StateT etc are enclosed in <hask> tags. They show up in monospace, each starting a new line. Is this only MSIE6, or this is how it is supposed to render?
They're inline in FireFox. That text-align: seems unnecessary.
One normally expects <div> elements to be *block-level*; that's what <div> is for. Inline stuff should use <span>, that's what <span> is for.

On Wed, 15 Dec 2010 15:01:49 +0100, Dimitry Golubovsky
Hi,
In MSIE6, <hask> tags are rendered like this (from the Monad_Transformers page):
transformers: provides the classes MonadTrans and MonadIO , as well as concrete monad transformers such as StateT
MSIE8 (with compatibility updates) and Opera on my system display the page correctly. Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

On Wed, 2010-12-15 at 09:01 -0500, Dimitry Golubovsky wrote:
Hi,
In MSIE6, <hask> tags are rendered like this (from the Monad_Transformers page):
transformers: provides the classes MonadTrans and MonadIO , as well as concrete monad transformers such as StateT
... etc.
The Wiki source:
[http://hackage.haskell.org/package/transformers transformers]: provides the classes <hask>MonadTrans</hask> and <hask>MonadIO</hask>, as well as concrete monad transformers such as <hask>StateT</hask>.
HTML (a small piece of it):
provides the classes <div class="inline-code"><div dir="ltr" style="text-align: left;"><div class="source-haskell" style="font-family: monospace;">MonadTrans</div></div></div>
Words MonadTrans, MonadIO, StateT etc are enclosed in <hask> tags. They show up in monospace, each starting a new line. Is this only MSIE6, or this is how it is supposed to render?
Thanks.
PS I am not attaching a screenshot to the mailing list; if anyone needs to see it I'll send via personal e-mail.
In epiphany (webkit) it displays OK. You can always test on pages like http://browsershots.org/http://haskell.org/haskellwiki/Monad_Transformers In general I'd say that MSIE should be avoided and updated to newer version like 7 or 8 (according to wikipedia they should be avaible for Windows XP - or at least they were available when Windows XP was supported) - IE6 have technology from 2001. I understand however that it may be outside your control (maybe portable Fx would be solution?) Regards PS. BTW - does anyone have statistics on browser share on Haskell site? According to Wikipedia IE6 have still around 16% market share but I guess it is lower here.

Hi
In general I'd say that MSIE should be avoided and updated to newer version like 7 or 8 (according to wikipedia they should be avaible for Windows XP - or at least they were available when Windows XP was supported) - IE6 have technology from 2001. I understand however that it may be outside your control (maybe portable Fx would be solution?)
I strongly agree that MSIE 6 should be avoided, but for many company networks it's required. The big problem isn't that 16% (or whatever) of people use it, it's that while technical people will use a modern and powerful browser, many non-technical managers will just use the default settings/systems, and it gives a bad impression if when told that "Haskell is a great tool" a manager looks up haskell.org and sees a messy splat. For reference, the new Haddock style also gives various rendering issues in IE6. I reported these a while back (to Mark) but never got any response. Thanks, Neil

On Wed, 2010-12-15 at 17:56 +0000, Neil Mitchell wrote:
Hi
In general I'd say that MSIE should be avoided and updated to newer version like 7 or 8 (according to wikipedia they should be avaible for Windows XP - or at least they were available when Windows XP was supported) - IE6 have technology from 2001. I understand however that it may be outside your control (maybe portable Fx would be solution?)
I strongly agree that MSIE 6 should be avoided, but for many company networks it's required. The big problem isn't that 16% (or whatever) of people use it, it's that while technical people will use a modern and powerful browser, many non-technical managers will just use the default settings/systems, and it gives a bad impression if when told that "Haskell is a great tool" a manager looks up haskell.org and sees a messy splat.
For reference, the new Haddock style also gives various rendering issues in IE6. I reported these a while back (to Mark) but never got any response.
Thanks, Neil
I cannot speak for anyone but from what I remember supporting MSIE is neither trivial nor fan. If you happen to use newer version of IE or even different operating system (if I remember correctly most of Haskell users use GNU/Linux) then you have bad luck - you have to use other tools like virtual machines etc. - only to find out that you have not been visited once by IE 6. I'm not sure how many changes are going to be commited into haddock backend/themes but once ported it would need to be maintained. Regards

On 15 December 2010 18:23, Maciej Piechotka
For reference, the new Haddock style also gives various rendering issues in IE6. I reported these a while back (to Mark) but never got any response.
Thanks, Neil
I cannot speak for anyone but from what I remember supporting MSIE is neither trivial nor fan. If you happen to use newer version of IE or even different operating system (if I remember correctly most of Haskell users use GNU/Linux) then you have bad luck - you have to use other tools like virtual machines etc. - only to find out that you have not been visited once by IE 6.
And you have to pay for a copy of MS-Windows to run in your VM. I.e. YOU (read I) have to pay to support someone else's broken software. So you wouldn't catch me trying to support IE 6 (or anything else). Standards have a good reason for existing. -- Colin Adams Preston, Lancashire, ENGLAND () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

On Wed, 15 Dec 2010 18:45:10 +0100, Maciej Piechotka
You can always test on pages like http://browsershots.org/http://haskell.org/haskellwiki/Monad_Transformers : :
PS. BTW - does anyone have statistics on browser share on Haskell site? According to Wikipedia IE6 have still around 16% market share but I guess it is lower here.
Statistics from "A tour of the Haskell Monad functions" (on my site), after 15.351 pageviews: Top 15 Browsers Browsers % Mozilla 1.9 75,07% Firesomething Add-On 12,06% Opera 9.6 3,46% Internet Explorer 8.0 2,96% Internet Explorer 7.0 1,73% Mozilla 1.8 1,61% Internet Explorer 6.0 1,31% Firefox 3.0 0,43% General Crawlers 0,39% Firefox 2.0 0,23% Konqueror 4.2 0,17% Opera 9.0 0,13% Opera 9.5 0,07% Opera 9.2 0,05% Konqueror 3.0 0,05% Top 10 operating systems Operating System % Linux 53,29% Windows XP 24,63% Windows Vista 9,17% Macintosh OS X 8,01% Windows 7 2,97% Windows 2003 0,67% FreeBSD 0,56% SunOS 0,33% Windows 2000 0,29% Windows 98 0,04% Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

On Wed, 22 Dec 2010 13:22:07 +0100, David Virebayre
Statistics from "A tour of the Haskell Monad functions" (on my site), after 15.351 pageviews:
I find it surprising that nobody using google chrome ever browsed your site.
That is indeed strange; below statistics for the same page from a different statistics provider: Period: 2009-07-08 .. 2010-12-22 (the total period that this counter is active) Page views: 11.164 Unique page views: 10.380 Number of new visitors: 6.358 Browsers (18 browsers were used): Page Unique page views views 1. Firefox 5.417 5.015 2. Chrome 2.219 2.052 3. Opera 1.229 1.188 4. Safari 811 747 5. Mozilla 689 646 6. Internet Explorer 665 608 7. Konqueror 64 58 8. Camino 39 39 9. Uzbl 7 5 10. Midori 5 4 Operating Systems (15 operating systems were used): 1. Windows 4.776 4.443 2. Linux 4.701 4.378 3. Macintosh 1.517 1.410 4. FreeBSD 58 49 5. iPhone 23 20 6. Android 16 13 7. SunOS 15 12 8. (not set) 12 11 9. NetBSD 8 6 10. iPad 7 7 Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

Yes, the current syntax highligthing plugin (SyntaxHighlight_GeSHi) is
quite annoying. It's the version that comes with debian which has the
advantage that it will be updated automatically. However, it the
surrounding <div class="inline-code"> is my attempt at hacking around
the fact that it doesn't even support inline-markup. Another issue is
the weird way of trimming white space only on the first line.
I'm now leaning towards writing a new custom plugin, but that means i
have to write (and test) PHP code. Maybe I find some time over the
holidays. If anyone else wants to propose another plugin, let me
know.
On 15 December 2010 14:01, Dimitry Golubovsky
Hi,
In MSIE6, <hask> tags are rendered like this (from the Monad_Transformers page):
transformers: provides the classes MonadTrans and MonadIO , as well as concrete monad transformers such as StateT
... etc.
The Wiki source:
[http://hackage.haskell.org/package/transformers transformers]: provides the classes <hask>MonadTrans</hask> and <hask>MonadIO</hask>, as well as concrete monad transformers such as <hask>StateT</hask>.
HTML (a small piece of it):
provides the classes <div class="inline-code"><div dir="ltr" style="text-align: left;"><div class="source-haskell" style="font-family: monospace;">MonadTrans</div></div></div>
Words MonadTrans, MonadIO, StateT etc are enclosed in <hask> tags. They show up in monospace, each starting a new line. Is this only MSIE6, or this is how it is supposed to render?
Thanks.
PS I am not attaching a screenshot to the mailing list; if anyone needs to see it I'll send via personal e-mail.
-- Dimitry Golubovsky
Anywhere on the Web
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Push the envelope. Watch it bend.
participants (9)
-
Colin Adams
-
David Virebayre
-
Dimitry Golubovsky
-
Henk-Jan van Tuyl
-
Maciej Piechotka
-
Neil Mitchell
-
Richard O'Keefe
-
Ross Paterson
-
Thomas Schilling