MozillaZine

Mozilla Now Supports All CSS1 Properties!

Thursday April 29th, 1999

David Baron, long on the scene as a champion of a proper CSS1 implementation and one of the most prolific bug-report contributors at Bugzilla has great news on CSS1 in Mozilla (and he'd be the one to know).

"The new layout engine now supports all CSS1 properties. Troy Chevalier implemented the last property, background-attachment, earlier this week. Some properties are still buggy, and one selector (the visited pseudo-class) isn't yet implemented. However, this is probably the most complete implementation of CSS1 so far, and the bug list is consistently getting shorter."


#44 Re:Mozilla Now Supports All CSS1 Properties!

by David Baron <dbaron@fas.harvard.edu>

Saturday May 1st, 1999 2:34 PM

You are replying to this message

I sent a much more detailed response to Anthony Clark, but the biggest problems with his test were:

* Using HTML comments inside CSS, which caused large chunks of the stylesheet to (correctly) be ignored by Mozilla

* Putting block level elements inside of inline level elements, and then trying to apply to those inline elements widths (width doesn't apply to inline elements) and backgrounds (which should only cover the text, not a box).

MSIE does "recover" from all these errors. However, error handling is not a service to authors because:

* error recovery as MSIE does is not defined by any spec and so will be different between browsers

* therefore, in future versions or in other browsers, what the author thinks is fine won't actually work, because it's wrong.

* MSIE will try to recover from "errors" that are actually features of future versions of CSS, causing *massive* errors.

Furthermore, the CSS spec does define very clearly how to handle errors (HTML does not, but XML does). MSIE's "error recovery" blatantly violates these rules.