on Date: Sun, 27 Jan 2008 20:22:38 Philippe Wittenbergh wrote: > 'The standards' (and the doctypes) were not written with differences > in 'rendering' in mind. is this what you know or you believe? is there anything documented about this statement? and how a standard can be written without conducting any research on how browsers render an x(html) file? The following is from Eric's article at: http://www.oreillynet.com/pub/a/network/2000/04/14/doctype/index.html?page=2 ///// Besides the simple difference that strict documents will be treated differently, strict documents will have two big differences from quirky ones. First is that all elements will inherit styles, including table elements, which have a hard time inheriting text colors and styles in quirky mode. Second is that font-size: medium text will be the same size as unstyled text. In quirky mode, unstyled text is the same size as small. ////// So what i get from what erics states (which is actually the second and third significant examples BTW :) ) in the above statement, is that dtds prescribe a particular behaviour. The above is an example of what a dtd sets as a rule and how a browser acts based on the set of rules defined by dtds. This has nothing to do with if a browser wants to provide web-compatibility or not. If a browser wants to provide web-compatibility or does not want, it will not change the set of rules defined by say a strict dtd. A browser does not have a choice to decide what to do within a certain dtd once it is in and must obey what dtd rules out. However it can decide which mode (standard or quirks) to use only if you do not specify the URI or do not specify doctype at all, or you declare xml encoding before doctype which is the doctype switching for backward compatibility reasons. > Browsers, on the other hand, have, for web-compatibility reasons, > assigned a particular behaviour for some elements -for a very limited > number of elements-. The case of the alignment of images in table- > cells is the most (and only ?) significant example. Are you suggesting that it is the browser which defines the standards? Are you suggesting that it is the browser which decides to assign the gap for the image not the strict dtd? if yes I believe that is a wrong statement. If not, then that is what I mean. davoud ______________________________________________________________________> css-discuss [EMAIL PROTECTED]> http://www.css-discuss.org/mailman/listinfo/css-d> List wiki/FAQ -- http://css-discuss.incutio.com/> List policies -- http://css-discuss.org/policies.html> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ _________________________________________________________________
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
