On 27 Jan 2008, at 16:10, DAVOUD TOHIDY wrote:

>>>
>>> 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?
>
>> Yes – go and look through the DTD, you will find nothing to do with
>> rendering at all in it.
>
> Are you kidding me or what? :) That yes is in your world.
> It does not matter what DTD hold.

How else does the DTD decide such presentational matters? Through  
voodoo?

> Browsers can have some standards for themselves but can not define
> standards for the world otherwise we would be stuck in the middle
> of browsers war.

The browsers _do_ define the majority of the web standards. A lot of  
HTML 4.01 and CSS 2.0 is totally irrelevant in the real world.

> Then i guess W3C is kidding us? does'nt it? and that they should
> leave us alone. what are standards good for?

Disclaimer: I'm a member of the HTML WG, but these views are my own.

A lot of work that has happened at the W3C since it was created has  
been idealistic, discarding what the real-world is like, assuming that  
everyone will always follow standards perfectly without flaw, and all  
implementations follow exactly the editor's intent. What is currently  
happening in the HTML WG (working on HTML 5) and the CSS WG (whose top  
priority is currently CSS 2.1) is _specifying_ things like DOCTYPE  
switches, so there are standards that cover this, and so standards  
_are_ relevant in the real world (which they currently are not — if  
you were to implement a browser following exactly HTML 4.01 and CSS  
2.0 very, very, very little would be rendered as the author intended).

> A browser likes to put a gap under a picture and another does not,
> that is what happens if they were to define standards for us.

No, content becomes reliant on a certain behaviour and other browsers  
copy it; or, a browser invents something (e.g., IE6 introducing quirks/ 
standards mode) and other browsers copy it as it helps make the  
browser better.

On 27 Jan 2008, at 17:37, DAVOUD TOHIDY wrote:

> I would like to know what happens that makes browsers
> insert the gap in strict mode?

The DOCTYPE trigger a non-standardised switch, which affects both HTML  
and CSS (and, to a lesser extent, DOM). It is a de-facto standard  
implemented very, very, very similarly across all major browsers.


--
Geoffrey Sneddon
<http://gsnedders.com/>

______________________________________________________________________
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/

Reply via email to