Guy Van den Broeck wrote:
Hi,
yes this is a hack to have IE5.5 render the changed stuff with a blue background because the curly underline css doesn't work in that browser. Feel free to come up with a better solution that is standards compliant and cross browser compatible.
Cheers,
Guy
Ok, thanks. Probably needs a note documenting it.
On Thu, Nov 20, 2008 at 10:19 AM, Platonides Platonides@gmail.com wrote:
PS: Could someone replace on common/shared.css border:1px solid darkblue; by border: 1px solid #00008B; /*darkblue*/ ? Just to get rid of the warning.
No. "darkblue" is nice and comprehensible, and completely standards-compliant. That the validator doesn't recognize parts of the CSS3 Color module that are (AFAIK) universally implemented by browsers is its own fault.
http://www.w3.org/TR/css3-color/#svg-color
On Thu, Nov 20, 2008 at 1:50 PM, Platonides platonides@gmail.com wrote:
Guy Van den Broeck wrote:
Hi,
yes this is a hack to have IE5.5 render the changed stuff with a blue background because the curly underline css doesn't work in that browser. Feel free to come up with a better solution that is standards compliant and cross browser compatible.
Cheers,
Guy
Ok, thanks. Probably needs a note documenting it.
It seems like the background attribute should have a color specified as fallback anyway, for people with images turned off, no? Or, if IE5.5 drops the background attribute, you could put the background-color before the background attribute (background always overwrites background-color, even if one isn't specified).
But I'm not willing to dig up a copy of IE5.5 to test this on, so I have no right to comment. :) I've added the comment, though.
Aryeh Gregor wrote:
On Thu, Nov 20, 2008 at 10:19 AM, Platonides Platonides@gmail.com wrote:
PS: Could someone replace on common/shared.css border:1px solid darkblue; by border: 1px solid #00008B; /*darkblue*/ ? Just to get rid of the warning.
No. "darkblue" is nice and comprehensible, and completely standards-compliant. That the validator doesn't recognize parts of the CSS3 Color module that are (AFAIK) universally implemented by browsers is its own fault.
It is. But I would prefer to get rid of that warning. :-)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Platonides wrote:
Aryeh Gregor wrote:
On Thu, Nov 20, 2008 at 10:19 AM, Platonides Platonides@gmail.com wrote:
PS: Could someone replace on common/shared.css border:1px solid darkblue; by border: 1px solid #00008B; /*darkblue*/ ? Just to get rid of the warning.
No. "darkblue" is nice and comprehensible, and completely standards-compliant. That the validator doesn't recognize parts of the CSS3 Color module that are (AFAIK) universally implemented by browsers is its own fault.
It is. But I would prefer to get rid of that warning. :-)
The w3 CSS validator is frankly pretty crappy; it freaks out at perfectly legitimate use of vendor extensions with generic fallbacks.
Of course, funky hacks like the *blah are kind of nasty. I'd much prefer to see specialized rules put in the IE version-specific CSS files which are loaded via IE's conditional comments.
- -- brion
On Fri, Nov 21, 2008 at 9:51 AM, Platonides Platonides@gmail.com wrote:
It is. But I would prefer to get rid of that warning. :-)
We should not try to fix what isn't broken to shut up a validator from making complaints that are simply wrong.
wikitech-l@lists.wikimedia.org