Hi,
-> HTML colors are parsed differently (# is not
required, and missing digits are filled int
differently)
Thanks for the web site, i just realize how standard
are used.
With what i read, it means i can not produce a 100%
standard code even if i'm using the standard ;). Sorry
for being sarcastic.
I'll get the REAL standard (W3C) about html color
string and i will create the code as the consortium
write it. (And my code may became imcapatible)
Thanks,
Robert
--- Tei <[EMAIL PROTECTED]> wrote:
> 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");
>
>
>
> _______________________________________________
> Developers mailing list
> [email protected]
> http://dotgnu.org/mailman/listinfo/developers
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Developers mailing list
[email protected]
http://dotgnu.org/mailman/listinfo/developers