W
William Gill
Are you saying the original HTML and browsers followed no prescribedWilliam Gill wrote:
It doesn't use a DTD at all. And it's the other way around: DTDs in HTML
recommendations have more or less been retrofitted to describe, partly
incorrectly or inexactly, what browsers generally deal with, or can be
expected to deal with. Browsers tend to be much more permissive than
they would if the used DTDs, but roughly speaking, when you deviate
considerably from HTML recommendations in your document, browsers will
often be permissive _in different ways_.
structure (not even SGML), and that programmers arbitrarily decided how
to interpret and render html elements? I wasn't there, but I find that
a little suspect.
I can, however imagine people getting ahead of slow standards
development, and making "semi-educated" assumptions. I can also see the
standards effort struggling to incorporate things that were already
fairly ubiquitous. It wouldn't be the first time that a de facto
standard had to be adopted.
I find it unrealistic to think that today's developers of standards
compliant browsers don't take the DTDs into any consideration, but I may
be wrong. It may be possible to make determinations on rendering
without knowing for example which element may be contained in which, but
I would prefer to believe they aren't that narrow.
I think our basic disagreement stems from how closely we parse the term
parse(no pun intended). You seem to draw the line at breaking the
document into its elements. I take the more colloquial interpretation
of breaking out each element for some intended purpose (i.e rendering).
Isn't "making a choice between rendering modes" the same as saying "theNo, they don't do such things. Each browser uses its built-in browser.
No, they use that declaration to make a choice between _rendering
modes_. Parsing is not affected at all, even in cases where some markup
is not honored in some mode. For example, when IE 8 refuses, in
"standards" mode, to use the line breaking opportunities suggested by
<wbr> markup (nonstandard but widely supported tag), this hardly happens
due to any difference in parsing. Rather, the browser parses the tag as
usual, then just ignores it.
browser must decide which branch of its own code to follow?"
Never said they did. Why would they, they can't do anything about them.They don't retrieve it at all.
I implied (maybe incorrectly) they received all the consideration they
were going to get at the time of programming the application (the browser).