dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU] MS standard (pnetlib)


From: Tei
Subject: Re: [DotGNU] MS standard (pnetlib)
Date: Wed, 03 Aug 2005 19:44:27 +0200

El mié, 03-08-2005 a las 18:48, Robert Lascelle escribió:
> Hi,
> 
> I'm working now on the System.Drawing namespace.
> (Color and ColorTranslator classes).
> 
> I made a small test program, and I have 3 different
> problem between my implementation of ColorTranslator
> and the MS one.
...
> A logical example:
> ColorTranslator.FromHtml("#f23")
> MS return a Color "#ff2233"
> In Internet Explorer (a MS product) if i write
> <font color="#f23">1 2 3</font><br>
> <font color="#ff2233">1 2 3</font><br>
> The first one show a black (or almost black) text.
> The second line show a red text.
> 
> Should i code blindly using MS spec or should i code
> logicaly?


This sound a lot like quirk modes:
http://www.mozilla.org/docs/web-developer/quirks/

Maybe you can have ColorTranlator.SetMode("Standard") vs
ColorTranslator.SetMode("Quirk");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]